Name : python-logging-tree
| |
Version : 1.1
| Vendor : Fedora Project
|
Release : 3.fc20
| Date : 2013-08-04 12:29:56
|
Group : Development/Libraries
| Source RPM : python-logging-tree-1.1-3.fc20.src.rpm
|
Size : 0.04 MB
| |
Packager : Fedora Project
| |
Summary : Introspect and display the logger tree inside \"logging\"
|
Description :
Introspection for the ``logging`` logger tree in the Standard Library.
While you can write programs that call this package\'s ``tree()`` function and examine the hierarchy of logger objects that it finds inside of the Standard Library ``logging`` module, the simplest use of this package for debugging is to call ``printout()`` to print the loggers, filters, and handlers that your application has configured::
>>> logging.getLogger(\'a\') >>> logging.getLogger(\'a.b\').setLevel(logging.DEBUG) >>> logging.getLogger(\'x.c\') >>> from logging_tree import printout >>> printout() \"\" Level WARNING | o< --\"a\" | | | o< --\"a.b\" | Level DEBUG | o< --[x] | o< --\"x.c\"
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora-secondary/releases/20/Everything/ppc64/os/Packages/p |