Level-aware coloured output for the standard logging module.
Extracted from a larger codebase where it had grown organically.
pip install color-logfrom color_log import colorLog
result = colorLog("example")
print(result)- No runtime dependencies outside the standard library.
- Tested on Python 3.9 and newer.
MIT