Concrete implemenation of ILogger that provides logging to the Console. This is the default logger. If you want to log both to the console and another system, create both loggers, passing the other into this constructor.

Hierarchy (view full)

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

Generated using TypeDoc v0.25.12