Class: Formatter

logging.Formatter()

A Formatter provides support for formatting log records.

Constructor

new Formatter()

Methods

(abstract) format(record) → {string}

Formats the given log record and return the formatted string.

Parameters:
Name Type Description
record LogRecord

The log record to format.

Returns:

The formatted log record.

Type
string