import { IChannel } from "./IChannel" ; import { ILogger , LoggerOptions , LogLevel } from "./ILogger" ; /**
 * Public interface for interacting with LoggerManager class.
 *
 * The logger manager creates named Logger instances. Every logger is registered and can be enabled
 * or disabled using its own name.
 *
 * It is a good practice to remove a logger from the registry if it is not in use anymore.
 */ export interface ILoggerManager { channel : IChannel ; /**
     * Returns an array of logger names.
     */ getLoggerNames ( ) : string [ ] ; /**
     * Returns a logger.
     */ getLogger ( name ) : ILogger | undefined ; param { string } loggerName param { LoggerOptions } options create ( loggerName , options ? ) : ILogger ; param { ILogger } logger dispose ( logger ) : void ; param { LoggerOptions } options updateAll ( options ) : void ; param { string } loggerName param { LoggerOptions } config update ( loggerName , config ) : void ; param { boolean } value enableAll ( value ) : void ; param { string } loggerName param { boolean } value enable ( loggerName , value ) : void ; param { LogLevel } level setLogLevelForAll ( level ) : void ; param { string } loggerName param { LogLevel } level setLogLevel ( loggerName , level ) : void ; param { IChannel } channel setChannel ( channel ) : void ; }