8 lines
360 B
TypeScript
8 lines
360 B
TypeScript
export interface ILogger {
|
|
debug(message: string, context?: Record<string, any>): void;
|
|
info(message: string, context?: Record<string, any>): void;
|
|
warn(message: string, context?: Record<string, any>): void;
|
|
error(message: string, error?: Error, context?: Record<string, any>): void;
|
|
verbose?(message: string, context?: Record<string, any>): void;
|
|
}
|