Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILoggerManager

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.

Hierarchy

  • ILoggerManager

Implemented by

Index

Properties

channel

channel: IChannel

Methods

create

dispose

enable

  • enable(loggerName: string, value: boolean): void

enableAll

  • enableAll(value: boolean): void

getLogger

  • getLogger(name: string): ILogger | undefined

getLoggerNames

  • getLoggerNames(): string[]

setChannel

setLogLevel

  • setLogLevel(loggerName: string, level: LogLevel): void

setLogLevelForAll

  • setLogLevelForAll(level: LogLevel): void

update

updateAll

Generated using TypeDoc