Module app_engine (1.13.0)

Logging handler for App Engine Flexible

Sends logs to the Stackdriver Logging API with the appropriate resource and labels for App Engine logs.

Classes

AppEngineHandler

AppEngineHandler(client, name='app', transport=<class'google.cloud.logging.handlers.transports.background_thread.BackgroundThreadTransport'>, stream=None)

A logging handler that sends App Engine-formatted logs to Stackdriver.

Parameters
Name Description
client Client

The authenticated Google Cloud Logging client for this handler to use.

transport type

The transport class. It should be a subclass of .Transport. If unspecified, .BackgroundThreadTransport will be used.

stream file-like object

(optional) stream to be used by the handler.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.