Skip to main content

A python LoggerAdapter class that provides automatic indenting for logging.

Project description

A python helper class that provides automatic indenting for logging.

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
https://travis-ci.org/dstrohl/Python_log_indenter.svg?branch=master

Project details


Release history Release notifications | RSS feed

This version

0.9

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)

Uploaded Source

python_log_indenter-0.9.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

python_log_indenter-0.9-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file python_log_indenter-0.9.zip.

File metadata

File hashes

Hashes for python_log_indenter-0.9.zip
Algorithm Hash digest
SHA256 9d2c0f79f07649b21efce98a3f508a8bd951d933d849fee400f1f958ac0665c9
MD5 9ee109ae62a7400896933aefae077069
BLAKE2b-256 5b2075cea3b8416f82010b1662ae1d400989e0c1e3c2f9883b40176bcf756fd5

See more details on using hashes here.

File details

Details for the file python_log_indenter-0.9.tar.gz.

File metadata

File hashes

Hashes for python_log_indenter-0.9.tar.gz
Algorithm Hash digest
SHA256 7951c05e4564462136bf163a7d1d3406791371aa1fee969cfc6e2c8e906d4b7c
MD5 f78fb64dad61e04fadb16ddf7a1ddb16
BLAKE2b-256 9dcea6fb7ecb5c3266e1403bc8d38a9f715496cbb0224582acd592a69f410be0

See more details on using hashes here.

File details

Details for the file python_log_indenter-0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for python_log_indenter-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 25bfdb28dc8eac586ac15d19a0e4374b0deb9cbcf1208c6475388c457c1e1ab4
MD5 9c3cf66e93b2eb648990e0452beb9fc1
BLAKE2b-256 8aef0fd0990aa6a0cbfb7748fbf0666982039d6ceea55a63bc579e58fbae99a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page