Class SyncTransport (3.0.0)

SyncTransport(client, name)

Basic sychronous transport.

Uses this library's Logging client to directly make the API call.

Methods

send

send(record, message, **kwargs)

Overrides transport.send().

Parameters
NameDescription
record logging.LogRecord

Python log record that the handler was called with.

message str or dict

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