@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
15 lines (14 loc) • 399 B
TypeScript
interface LogContext {
functionName?: string;
requestId?: string;
userId?: string;
tenantId?: string;
[key: string]: unknown;
}
export declare const logger: {
debug: (msg: string, ctx?: LogContext) => void;
info: (msg: string, ctx?: LogContext) => void;
warn: (msg: string, ctx?: LogContext) => void;
error: (msg: string, ctx?: LogContext) => void;
};
export {};