Interface OutputFormatter

Log output formatter interface

interface OutputFormatter {
    format(event: LogEvent): string;
}

Implemented by

Methods

Methods

  • Formats a log event into a string event: The log event to format into a string Returns the formatted log event

    Parameters

    Returns string