LogFormatter.
format
Do formatting for a record.
record (logging.Record) – information to the event being logged.
The record formatted.
str