Versions
Description
This module helps by allowing you to indent the lines in your log entries to make it easier to read when you are dealing with complex loops and calls (especially with debug level 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
Repository
https://github.com/dstrohl/Python_log_indenter
Project Slug
python-log-indenter
Last Built
8 years, 1 month ago passed
Maintainers
Badge
Tags
Project has no tags.
Short URLs
python-log-indenter.readthedocs.io
python-log-indenter.rtfd.io
Default Version
latest
'latest' Version
master