The basic interface for a logger which doesn't support children

interface BaseLogger {
    debug(...msg: any[]): void;
    error(...msg: any[]): void;
    info(...msg: any[]): void;
    trace(...msg: any[]): void;
    warn(...msg: any[]): void;
}

Hierarchy (view full)

Methods

  • Output debug message to the logger.

    Parameters

    • Rest...msg: any[]

      Data to log.

    Returns void

  • Output error message to the logger.

    Parameters

    • Rest...msg: any[]

      Data to log.

    Returns void

  • Output info message to the logger.

    Parameters

    • Rest...msg: any[]

      Data to log.

    Returns void

  • Output trace message to the logger, with stack trace.

    Parameters

    • Rest...msg: any[]

      Data to log.

    Returns void

  • Output warn message to the logger.

    Parameters

    • Rest...msg: any[]

      Data to log.

    Returns void