@midwayjs/coreClassesDefaultConsoleLoggerFactory版本:Next本页总览DefaultConsoleLoggerFactory ImplementsLoggerFactory<ILogger, any>Index ConstructorsconstructorMethodsclosecreateContextLoggercreateLoggergetClientKeysgetClientsgetDefaultMidwayLoggerConfiggetLoggerremoveLoggerConstructors constructornew DefaultConsoleLoggerFactory(): DefaultConsoleLoggerFactoryMethods closeclose(loggerName?: string): voidcreateContextLoggercreateContextLogger(ctx: any, appLogger: ILogger, contextOptions?: any): ILoggercreateLoggercreateLogger(name: string, options: any): ILoggerpublicgetClientKeysgetClientKeys(): string[]publicgetClientsgetClients(): Map<string, ILogger>getDefaultMidwayLoggerConfiggetDefaultMidwayLoggerConfig(): { midwayLogger: { clients?: {}; default?: any } }getLoggergetLogger(loggerName: string): ILoggerremoveLoggerremoveLogger(loggerName: string): void