Version: NextLoggerFactory <Logger, LoggerOptions>
Constructors
- new LoggerFactory<Logger, LoggerOptions>(): LoggerFactory<Logger, LoggerOptions>
Methods
- close(loggerName?: string): any
- createContextLogger(ctx: any, appLogger: ILogger, contextOptions?: any): ILogger
- createLogger(name: string, options: LoggerOptions): Logger
- getDefaultMidwayLoggerConfig(appInfo: MidwayAppInfo): { midwayLogger: { clients?: {}; default?: LoggerOptions } }
- getLogger(loggerName: string): Logger
- removeLogger(loggerName: string): any