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

Hierarchy

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.

    • Optional meta: LogMetadata

      Optional metadata to include in the log message.

    Returns WrappingLogger