logging — Report Status, Error, and Informational Messages — PyMOTW 3
The logging module defines a standard API for reporting errors and status information from applications and libraries. The key benefit of having the logging API provided by a standard library module is that all Python modules can participate in logging, so an application’s log can include messages from third-party modules.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.