Python Forum
Hierarchical logging in Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hierarchical logging in Python
#1
The most used logging these days is logging that prints the logs a row under a row.
There are flows that will be hard to debug by kind of logs.
Example: A flow of method that calls a child(1st, 2nd) method multiple times.
It can be easier to track the flow if the logs were hierarchy.
nrt-logging is a free open source that prints logging in a hierarchy in YAML format.


How to install: pip install nrt-logging

You can find more information in

GitHub: https://github.com/etuzon/Python-NRT-Logging
GitHub wiki:https://github.com/etuzon/Python-NRT-Logging/wiki
PYPI: https://pypi.org/project/nrt-logging
   
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020