-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
logging provides a utility library for write statements to a log file during various points of program execution. This is critical for programs that are meant to run autonomously, like web servers, as it is one of the few ways you can trace the path of a program's execution. Logging can also be used for debugging and diagnosing problems by providing a playbook of what happened and noting when exceptions were raised.
Suggest demo show various levels of logging, from info to exception. Can also include different logging handler use, for example one logger to capture debug in a hidden file while one logger writes to a special file.
Python Docs: https://docs.python.org/2/library/logging.html