c.l.s.l.LibrarianFormatter(logging.Formatter) : class documentation

Part of canonical.launchpad.scripts.logger View In Hierarchy

A logging.Formatter that stores tracebacks in the Librarian and emits a URL rather than emitting the traceback directly.

The traceback will be emitted as a fallback if the Librarian cannot be contacted.

Method formatException Format the exception and store it in the Librian.
def formatException(self, ei):
Format the exception and store it in the Librian.

Returns the URL, or the formatted exception if the Librarian is not available.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.