A colored logging formatter
Project description
A colored logging formatter.
Installation
pip install logging-color-formatter
Usage
[loggers]
keys = root
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = NOTSET
formatter = generic
[formatters]
keys = color
[formatter_color]
class = logging_color_formatter.ColorFormatter
Changes
1.0.3
Publish wheels
1.0.2
Fix missing output of stacktraces on exceptions
1.0.1
Fix missing interpolation on strings using logger arguments
Run tests
python setup.py test
Licence
Apache License v2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file logging-color-formatter-1.0.3.tar.gz
.
File metadata
- Download URL: logging-color-formatter-1.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 495920c386d48cad9e9463a10f51b4deb95cab3b0185d02a36af67d66ae93787 |
|
MD5 | 297b3b80fe78f6c0a1e1fecc0e53e9b9 |
|
BLAKE2b-256 | 7e4efc0f8f4d689f824337bf7364915aa7dd27b93a97acef7c2d123869eb78cf |
Provenance
File details
Details for the file logging_color_formatter-1.0.3-cp3-none-any.whl
.
File metadata
- Download URL: logging_color_formatter-1.0.3-cp3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: CPython 3.
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecee191e6414f6133ae8b3d5cf1598612210b3fe5eeb901a7b1aa70d9751be47 |
|
MD5 | e159bc69cc482b1a243e4f0a11d8ae2c |
|
BLAKE2b-256 | aa0d309c071cc5d25f401d50c6438c827512050c350ad9992ccac43d9b8bebf1 |