loggingStandard library
Logging facility for Python.
The standard library's logging module is what almost every library writes to, with hierarchical loggers, handlers and formatters. Even if you prefer another API, configure the standard logger so third-party messages end up in the same place. Loguru replaces that setup with one preconfigured logger, readable colored output, file rotation and detailed tracebacks, which makes it pleasant for applications and scripts.