Module background_thread (3.6.0)

Transport for Python logging handler

Uses a background worker to log to Cloud Logging asynchronously.

See more code actions.
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.