A handler that records exception data to the App Engine datastore.
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.
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:
- code/googleappengine-read-only/python/google/appengine/ext/ereporter/ereporter.py