UNPKG

@malagu/core

Version:
16 lines 653 B
export declare const LOGGER_CONFIG = "malagu.logger"; export declare const LOGGER_LEVEL: string; export declare const Logger: unique symbol; export declare const TraceIdProvider: unique symbol; export declare type LogLevel = 'verbose' | 'debug' | 'info' | 'warn' | 'error'; export interface Logger { setContext(context?: string): void; info(message: any, context?: string): void; error(message: any, context?: string): void; warn(message: any, context?: string): void; debug(message: any, context?: string): void; } export interface TraceIdProvider { provide(): string | undefined; } //# sourceMappingURL=logger-protocol.d.ts.map