Log formatting with colors!
colorlog.ColoredFormatter is a formatter for use with pythons logging module.
It allows colors to be placed in the format string, which is mostly useful when paired with a StreamHandler that is outputting to a terminal. This is accomplished by added a set of terminal color codes to the record before it is used to format the string.
- Links to devel:languages:python / python-colorlog
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:mfrueh:geo/python-colorlog && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
colorlog-6.8.2.tar.gz | 0000016529 16.1 KB | |
python-colorlog.changes | 0000005218 5.1 KB | |
python-colorlog.spec | 0000001877 1.83 KB |
Latest Revision
M Frueh (mfrueh)
committed
(revision 4)
- update to 6.8.0: * Fix running tests in environment with NO_COLOR=1 - Update to 6.4.1: * no upstream changes available * Add setuptools to setup_requires. * Add a TTYColoredFormatter class * Remove qutebrowser from projects using colorlog
Comments 0