UNPKG

node-logger-light

Version:

An advanced logging library for Node.js with support for different log levels, file logging, and external services integration.

16 lines 476 B
interface LoggerOptions { logLevel: 'info' | 'warn' | 'error' | 'debug'; logToFile: boolean; filePath?: string; } export declare class Logger { private logger; constructor(options: LoggerOptions); log(level: 'info' | 'warn' | 'error' | 'debug', message: string): void; info(message: string): void; warn(message: string): void; error(message: string): void; debug(message: string): void; } export {}; //# sourceMappingURL=Logger.d.ts.map