Base class for Logger services. This class is abstract and should be extended to provide a concrete implementation.

Hierarchy (view full)

Implements

Constructors

Accessors

  • get chainedLogger(): null | ILoggerService
  • Reference to another ILogger implementation that gets called after the console's logging. Optional. Will only be called if this logger instance has level >= minLevel or an override. Its own MinLevel will be changed to Debug because this logger expects chainedLogger to output all log entries. However, you can set the minLevel on chainedLogger after this assignment to control what it outputs.

    Returns null | ILoggerService

  • set chainedLogger(logger): void
  • Reference to another ILogger implementation that gets called after the console's logging. Optional. Will only be called if this logger instance has level >= minLevel or an override. Its own MinLevel will be changed to Debug because this logger expects chainedLogger to output all log entries. However, you can set the minLevel on chainedLogger after this assignment to control what it outputs.

    Parameters

    Returns void

Methods

  • Looks through all overrideMinLevelWhens in order found. If overrideMinLevelWhen contain all matching values, it is a match and true is returned.

    Parameters

    Returns boolean

    true if a match is found, false if no match is found.

Generated using TypeDoc v0.25.12