Skip to main content

Simple log formatters for colored output

Project description

log_color provides Logging formatters for colorized outputs. A very simple domain specific language (DSL) is used to colorize all or part of a particular log message. For example:

LOG.debug('Found file at #g<%s>', path)

The above would colorize the contents of the ‘path’ variable green when output to a command line terminal.n

A formatter which strips color sequences from the output is also included for situations like logging to files where having ANSI color sequences embedded in the output would not make sense.

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

log_color-1.0.8.tar.gz (93.9 kB view hashes)

Uploaded Source

Built Distribution

log_color-1.0.8-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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