App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.ext.ereporter.ereporter.ExceptionRecordingHandler Class Reference
Inheritance diagram for google.appengine.ext.ereporter.ereporter.ExceptionRecordingHandler:

Public Member Functions

def __init__
 
def emit
 

Public Attributes

 log_interval
 

Detailed Description

A handler that records exception data to the App Engine datastore.

Constructor & Destructor Documentation

def google.appengine.ext.ereporter.ereporter.ExceptionRecordingHandler.__init__ (   self,
  log_interval = 10 
)
Constructs a new ExceptionRecordingHandler.

Args:
  log_interval: The minimum interval at which we will log an individual
exception. This is a per-exception timeout, so doesn't affect the
aggregate rate of exception logging, only the rate at which we record
ocurrences of a single exception, to prevent datastore contention.

Member Function Documentation

def google.appengine.ext.ereporter.ereporter.ExceptionRecordingHandler.emit (   self,
  record 
)
Log an error to the datastore, if applicable.

Args:
  The logging.LogRecord object.
See http://docs.python.org/library/logging.html#logging.LogRecord

The documentation for this class was generated from the following file: