Python Logging Handler Threaded Transport#

Transport for Python logging handler

Uses a background worker to log to Stackdriver Logging asynchronously.

class, name)[source]#


Aysnchronous transport that uses a background thread.

Writes logging entries as a batch process.

send(record, message)[source]#

Overrides Transport.send().

  • 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.