Implements

Constructors

Properties

Formatters to use.

dateFormat: string

The format to use when formatting timestamps.

Methods

  • Formats the log message.

    Parameters

    • input: unknown[]

      The log message to format.

    Returns string

  • Formats the logger name.

    Parameters

    • name: string

      The logger name.

    • data: LogData

    Returns string

  • Formats the timestamp of log.

    Parameters

    • timestamp: number | Date

    Returns string