UNPKG

nodejs-logsage

Version:

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

15 lines (12 loc) 428 B
import { ILogger, ILoggerOptions } from '../types/index.mjs'; import 'pino'; import 'winston'; declare class WinstonService implements ILogger { private readonly logger; constructor(options: ILoggerOptions['options']); info(...optionalParams: any[]): void; warn(...optionalParams: any[]): void; error(...optionalParams: any[]): void; debug(...optionalParams: any[]): void; } export { WinstonService };