Part of lp.services.scripts.logger View In Hierarchy
Other modules will do 'from lp.services.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 | use | Temporarily use a different log . |
Method | shortException | Like Logger.exception, but does not print a traceback. |