Module background_thread (3.2.3)

Transport for Python logging handler

Uses a background worker to log to Cloud Logging asynchronously.

Classes

BackgroundThreadTransport

BackgroundThreadTransport(
    client,
    name,
    *,
    grace_period=5.0,
    batch_size=10,
    max_latency=0,
    resource=Resource(type="global", labels={}),
    **kwargs
)

Asynchronous transport that uses a background thread.