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

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

logging-color-formatter-1.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

logging_color_formatter-1.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file logging-color-formatter-1.1.0.tar.gz.

File metadata

File hashes

Hashes for logging-color-formatter-1.1.0.tar.gz
Algorithm Hash digest
SHA256 19285cd9027277bb4ad89cff2f0d984c4ec665f3ac6c89a7648572c6267db07d
MD5 b760d9a7b33112d8312f970cf78c942a
BLAKE2b-256 b26596ac42f870cf15f3dfccf639a8682c48fd97baad0539a7ed76015e41e3bb

See more details on using hashes here.

File details

Details for the file logging_color_formatter-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for logging_color_formatter-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 825e0e0eb98a7c86f1d9892d290d37a66f0458ec540c290a0cc7fc5d98136644
MD5 ef99962c318c3cb9aaa28a4ca48126e4
BLAKE2b-256 28e61faef29d78232986c576f5012e7d657939fd3865e6a8af43fbd21d52b9b5

See more details on using hashes here.

Supported by

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