logging — Logging facility for Python — Python 3. 14. 0 documentation The key benefit of having the logging API provided by a standard library module is that all Python modules can participate in logging, so your application log can include your own messages integrated with messages from third-party modules