Class BackgroundThreadTransport

Asynchronous transport that uses a background thread.

Inheritance

builtins.object > Transport > BackgroundThreadTransport

Methods

flush

flush()

Submit any pending log records.

send

send(record, message, **kwargs)

Overrides Transport.send().

Parameters
NameDescription
kwargs

Additional optional arguments for the logger

record logging.LogRecord

Python log record that the handler was called with.

message str

The message from the LogRecord after being formatted by the associated log formatters.