FileLoggerStrategy implements LoggerStrategy to provide logging functionality to the file system. (LoggerStrategy)

Implements

Constructors

Methods

Constructors

Methods

  • Logs a message to the file system with the specified log level.

    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 Promise<void>