6 lines
292 B
TypeScript
6 lines
292 B
TypeScript
export interface Logger {
|
|
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;
|
|
} |