Module background_thread (3.2.2)

Stay organized with collections Save and categorize content based on your preferences.

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.