interface LoggerStrategy {
    log(level: LogLevels, date: Date, object: unknown): void;
}

Implemented by

Methods

Methods

  • Logs a message with the strategy's implementation.

    Parameters

    • level: LogLevels

      The log level at which the message should be logged. (LogLevels)

    • date: Date

      The date at which the message was logged.

    • object: unknown

      The object to log.

    Returns void