Options
All
  • Public
  • Public/Protected
  • All
Menu

BasicFormatter builds message format.

Hierarchy

  • BasicFormatter

Implements

Index

Constructors

Methods

Constructors

Methods

  • Formats data to be logged to console.

    example
    // Formats the input object
    const logEntry: LogEntry;
    format(logEntry);

    Parameters

    • entry: LogEntry

      Specifies data and log level to be logged.

    Returns string

    • Formatted string message.

Generated using TypeDoc