Letter P

python3-logging-tree - Introspect and display the logger tree inside "logging"

Website: http://pypi.python.org/pypi/logging_tree
License: BSD
Vendor: Alcance Libre, Inc.
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.b"
       |       Level DEBUG


python3-logging-tree-1.7-8.fc14.al.noarch [21 KiB] Changelog by Fedora Release Engineering (2018-02-09):
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Listing created by Repoview-0.6.6-5.fc14.al