Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
This class is a representation of application log data, with each object representing one log line for an application written during the processing of a request.
AppLog
is provided by the google.appengine.api.logservice
module.
One or more Application logs can be written during the handling of an incoming client request. Each log is represented in an AppLog object, which contains a timestamp, the severity level of the log entry, and the message string written by the app.
You don't instantiate this class. Instead, you obtain this information by invoking logservice.fetch() to get the filtered list of RequestLog objects, each of which contains all the log information for that request, including application logs. You then get the list of AppLog objects from each RequestLog object using the app_logs
property to return a list of AppLog objects. (This list can be empty, if no app log was written during the request.) By default, application logs are not returned by logservice.fetch()
; you have to invoke it with its include_app_logs
parameter set to True.