Skip to main content

A colored logging formatter

Project description

https://github.com/leplatrem/logging-color-formatter/actions/workflows/test.yml/badge.svg https://img.shields.io/pypi/v/logging-color-formatter.svg

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

See [Github Releases](https://github.com/leplatrem/logging-color-formatter/releases)

Run tests

py.test

Licence

  • Apache License v2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page