Implements BaseLogger around a SimpleLogger, which can be swapped out a runtime.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

logger: SimpleLogger

Methods

  • Log the given message at the given level. If the internal level is higher than the given level, the message may be voided.

    Parameters

    • level:
          | "error"
          | "warn"
          | "info"
          | "verbose"
          | "debug"
          | "silly"

      The level to log at.

    • message: string

      The message to log.

    • Optionalmeta: LogMetadata

      Optional metadata to include in the log message.

    Returns this