1 | import { LoggerService as NestLoggerService } from '@nestjs/common';
|
2 | import { Logger } from 'winston';
|
3 | export declare class LoggerProvider implements NestLoggerService {
|
4 | private readonly logger;
|
5 | protected context: string;
|
6 | private isTimestampEnabled;
|
7 | static instance: LoggerProvider;
|
8 | static logLevels: string[];
|
9 | constructor(logger: Logger);
|
10 | readonly requestId: string;
|
11 | setContext(value: string): this;
|
12 | requestContext(context?: string): string;
|
13 | info(message: any, ...optionalParams: any[]): Logger;
|
14 | log(message: any, ...optionalParams: any[]): Logger;
|
15 | error(message: any, trace?: string, ...optionalParams: any[]): any;
|
16 | warn(message: any, ...optionalParams: any[]): any;
|
17 | debug?(message: any, ...optionalParams: any[]): any;
|
18 | verbose?(message: any, ...optionalParams: any[]): any;
|
19 | callFunction(name: any, message: any, context: any): void;
|
20 | getInstance(): LoggerProvider | typeof LoggerProvider;
|
21 | isLogLevelEnabled(level: any): boolean;
|
22 | }
|