UNPKG

nodejs-logsage

Version:

Powerful logger module for NestJS, seamlessly integrating Pino and Winston for flexible logging with easy configuration.

17 lines (14 loc) 463 B
import { ILogger, ILoggerOptions } from '../types/index.mjs'; import 'pino'; import 'winston'; declare class LoggerService implements ILogger { private logger; constructor(options?: ILoggerOptions); info(...optionalParams: any[]): void; warn(...optionalParams: any[]): void; error(...optionalParams: any[]): void; debug(...optionalParams: any[]): void; private addRequestId; private logWithRequestId; } export { LoggerService };