The coloredlogs package enables colored terminal output for Python's logging module. The ColoredFormatter class inherits from logging. Formatter and uses ANSI escape sequences to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal.