Class Logger

A wrapper around a log handler with some convenience methods.

Hierarchy

  • Logger

Implements

Constructors

Properties

Methods

Constructors

Properties

handler: any

Methods

  • Logs the given message at the debug level.

    Parameters

    • msg: string | (() => string)

    Returns void

  • Logs the given message at the error level.

    Parameters

    • msg: string | (() => string)

    Returns void

  • Logs the given message at the info level.

    Parameters

    • msg: string | (() => string)

    Returns void

  • Logs the given message at the given level.

    Parameters

    • level: LogLevel
    • msg: string | (() => string)

    Returns void

  • Logs the given message at the trace level.

    Parameters

    • msg: string | (() => string)

    Returns void

  • Logs the given message at the warning level.

    Parameters

    • msg: string | (() => string)

    Returns void

Generated using TypeDoc