Skip to main content

A colored logging formatter

Project description

Latest PyPI version Latest Travis CI build status

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.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

logging-color-formatter-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for logging-color-formatter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8bb64b287a36cb05f29372851a42b00ee97ba42fa3ea41446f7f464fe5761c69
MD5 d42d3ac33f4d26977b39d32a6cb142a9
BLAKE2b-256 385fc320e8821319aaf8466f85ad48c0533c0ba581da6e77b38175c624b117c7

See more details on using hashes here.

Provenance

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