Don't import from this module. Import it from lp.services.scripts.
| Class | OopsHandler | Handler to log to the OOPS system. |
| Class | LaunchpadFormatter | logging.Formatter encoding our preferred output format. |
| Class | LogLevelNudger | Callable to adjust the global log level. |
| Function | define_verbosity_options | Define the -v and -q options on parser. |
| Function | do_nothing | Do absolutely nothing. |
| Function | reset_root_logger | Undocumented |
| Function | _logger | Create the actual logger instance, logging at the given level |
| Class | _LogWrapper | Changes the logger instance. |
parser.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'