La compatibilité de Python 2 n'est plus assurée par la communauté. Nous vous recommandons de migrer les applications Python 2 vers Python 3.

google.appengine.api.app_logging module


Logging utilities for use by applications.

Classes defined here:

AppLogsHandler: StreamHandler subclass


class google.appengine.api.app_logging.AppLogsHandler(level=0)source

Bases: logging.Handler

Logging handler that will direct output to a persistent store of application logs.

This handler will output log statements to logservice.write(). This handler is automatically initialized and attached to the Python common logging library.


Emit a record.

This implementation is based on the implementation of StreamHandler.emit().


record – A Python logging.LogRecord object.