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

  • Fix missing out 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.

Files for logging-color-formatter, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size logging-color-formatter-1.0.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page