Console with logging methods.

interface ConsoleSpec {
    error(message: any): void;
    log(message: any): void;
}

Methods

Methods

  • Logs an error message.

    Parameters

    • message: any

      error message to log

    Returns void

  • Logs a message.

    Parameters

    • message: any

      message to log

    Returns void