A python LoggerAdapter class that provides automatic indenting for logging.
Project description
A python helper class that provides automatic indenting for logging.
Documentation: http://python-log-indenter.readthedocs.org/en/latest/
Source code at: https://github.com/dstrohl/Python_log_indenter
This will allow you to turn logs that would normally look like this:
root DEBUG Loading system root DEBUG Checking for the right record root DEBUG Checking record 1 root DEBUG Checking name root DEBUG Not the right record root DEBUG Checking record 2 root DEBUG checking name root DEBUG Name checks, checking phone number root DEBUG Phone number checks, VALID record! root DEBUG Returning record 2
Into something like this:
root DEBUG Loading system root DEBUG Checking for the right record root DEBUG Checking record 1 root DEBUG Checking name root DEBUG Not the right record root DEBUG Checking record 2 root DEBUG checking name root DEBUG Name checks, checking phone number root DEBUG Phone number checks, VALID record! root DEBUG Returning record 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
python_log_indenter-0.9.zip
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for python_log_indenter-0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25bfdb28dc8eac586ac15d19a0e4374b0deb9cbcf1208c6475388c457c1e1ab4 |
|
MD5 | 9c3cf66e93b2eb648990e0452beb9fc1 |
|
BLAKE2b-256 | 8aef0fd0990aa6a0cbfb7748fbf0666982039d6ceea55a63bc579e58fbae99a2 |