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 details)
Built Distribution
File details
Details for the file python_log_indenter-0.9.zip
.
File metadata
- Download URL: python_log_indenter-0.9.zip
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2c0f79f07649b21efce98a3f508a8bd951d933d849fee400f1f958ac0665c9 |
|
MD5 | 9ee109ae62a7400896933aefae077069 |
|
BLAKE2b-256 | 5b2075cea3b8416f82010b1662ae1d400989e0c1e3c2f9883b40176bcf756fd5 |
File details
Details for the file python_log_indenter-0.9.tar.gz
.
File metadata
- Download URL: python_log_indenter-0.9.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7951c05e4564462136bf163a7d1d3406791371aa1fee969cfc6e2c8e906d4b7c |
|
MD5 | f78fb64dad61e04fadb16ddf7a1ddb16 |
|
BLAKE2b-256 | 9dcea6fb7ecb5c3266e1403bc8d38a9f715496cbb0224582acd592a69f410be0 |
File details
Details for the file python_log_indenter-0.9-py3-none-any.whl
.
File metadata
- Download URL: python_log_indenter-0.9-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25bfdb28dc8eac586ac15d19a0e4374b0deb9cbcf1208c6475388c457c1e1ab4 |
|
MD5 | 9c3cf66e93b2eb648990e0452beb9fc1 |
|
BLAKE2b-256 | 8aef0fd0990aa6a0cbfb7748fbf0666982039d6ceea55a63bc579e58fbae99a2 |