Class BaseLoggerAbstract

Base class that implements all additional BaseLogger methods, leaving only the implementation of SimpleLogger.

Hierarchy

Implements

Constructors

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 Logger