c.l.s.logger : module documentation

Part of canonical.launchpad.scripts

Logging setup for scripts.

Don't import from this module. Import it from canonical.launchpad.scripts.

Parts of this may be moved into canonical.launchpad somewhere if it is to be used for non-script stuff.

Class LibrarianFormatter A logging.Formatter that stores tracebacks in the Librarian and emits
Function reset_root_logger Undocumented
Function _logger Create the actual logger instance, logging at the given level
Class _LogWrapper Changes the logger instance.
def reset_root_logger():
Undocumented
def _logger(level, out_stream, name=None):
Create the actual logger instance, logging at the given level

if name is None, it will get args[0] without the extension (e.g. gina). 'out_stream must be passed, the recommended value is sys.stderr'

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