c.l.s.l._LogWrapper : class documentation

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

Changes the logger instance.

Other modules will do 'from canonical.launchpad.scripts import log'. This wrapper allows us to change the logger instance these other modules use, by replacing the _log attribute. This is done each call to logger()

Method __init__ Undocumented
Method __getattr__ Undocumented
Method __setattr__ Undocumented
Method shortException Like Logger.exception, but does not print a traceback.
def __init__(self, log):
Undocumented
def __getattr__(self, key):
Undocumented
def __setattr__(self, key, value):
Undocumented
def shortException(self, msg, *args):
Like Logger.exception, but does not print a traceback.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.