c.l.w.e.OopsLoggingHandler(logging.Handler) : class documentation

Part of canonical.launchpad.webapp.errorlog View In Hierarchy

Python logging handler that records OOPSes on exception.
Method __init__ Construct an OopsLoggingHandler.
Method emit See logging.Handler.emit.
def __init__(self, error_utility=None, request=None):
Construct an OopsLoggingHandler.
Parameterserror_utilityThe error utility to use to log oopses. If not provided, defaults to globalErrorUtility.
requestThe IErrorReportRequest these errors are associated with.
def emit(self, record):
See logging.Handler.emit.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.