Wraps around another LoggerFactory that can be set lazily. This is useful when objects are instantiated (and when they create loggers) before the logging system has been fully instantiated, as is the case when using a dependency injection framework such as Components.js.

Loggers can be created even before a LoggerFactory is set; any log messages will be buffered and re-emitted.

Hierarchy

  • LazyLoggerFactory

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

factory: LoggerFactory

Accessors

Methods

  • Create a logger instance for the given label.

    Parameters

    • label: string

      A label that is used to identify the given logger.

    Returns Logger