Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leplatrem/logging-color-formatter
A colored logging formatter.
https://github.com/leplatrem/logging-color-formatter
Last synced: 22 days ago
JSON representation
A colored logging formatter.
- Host: GitHub
- URL: https://github.com/leplatrem/logging-color-formatter
- Owner: leplatrem
- License: other
- Created: 2017-03-10T10:22:46.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T14:54:37.000Z (10 months ago)
- Last Synced: 2024-04-26T08:42:03.020Z (7 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
logging-color-formatter
=======================.. image:: https://github.com/leplatrem/logging-color-formatter/actions/workflows/test.yml/badge.svg
:target: https://github.com/leplatrem/logging-color-formatter/actions.. image:: https://img.shields.io/pypi/v/logging-color-formatter.svg
:target: https://pypi.python.org/pypi/logging-color-formatterA colored logging formatter.
Installation
------------::
pip install logging-color-formatter
Usage
-----.. code-block:: ini
[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.ColorFormatterChanges
-------See `Github Releases `_
Run tests
---------::
py.test
Licence
-------* Apache License v2