The
coloredlogspackage enables colored terminal output for Python's logging_ module. The ColoredFormatter_ class inherits fromlogging.Formatter_ and usesANSI escape sequences_ to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. It's currently tested on Python 2.6, 2.7, 3.4, 3.5 and PyPy. On Windowscoloredlogsautomatically pulls in Colorama_ as a dependency and enables ANSI escape sequence translation using Colorama.
| Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
|---|---|---|---|---|---|
| 15.0.1-160000.2.2 info | GA Release | 2024-10-30 | 16.0 |
|
|