Describes the most simple logger.

interface BareLogger {
    log(message: string, ...args: unknown[]): void;
}

Methods

Methods

  • Logs a message.

    Parameters

    • message: string

      The message to log.

    • ...args: unknown[]

      Additional arguments to log.

    Returns void