Interface ILogger

Interface for compatible loggers.

Must at least support the log levels debug, info, warn and error.

interface ILogger {
    debug(message: string): void;
    error(message: string): void;
    info(message: string): void;
    warn(message: string): void;
}

Implemented by

Methods

  • ILogger a message with severity debug.

    Parameters

    • message: string

      The debug message.

    Returns void

  • ILogger a message with severity error.

    Parameters

    • message: string

      The error message.

    Returns void

  • ILogger a message with severity info.

    Parameters

    • message: string

      The information.

    Returns void

  • ILogger a message with severity warn.

    Parameters

    • message: string

      The warning.

    Returns void