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

interface BaseLogger {
    debug(...msg): void;
    error(...msg): void;
    info(...msg): void;
    trace(...msg): void;
    warn(...msg): 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

Generated using TypeDoc