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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file log_color-1.0.8.tar.gz.
File metadata
- Download URL: log_color-1.0.8.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
619b49cfdbc0b9f3b0444b4c767dc5d07ca4faa09fcb3781d968dee14fa138a0
|
|
| MD5 |
4babda245cc9312501eb28fe52242147
|
|
| BLAKE2b-256 |
9c9a3b4a9d5b1598de8374c65147e54fb43dd5b354588156379d76c4ca09b8d3
|
File details
Details for the file log_color-1.0.8-py3-none-any.whl.
File metadata
- Download URL: log_color-1.0.8-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
344be8b874e3e800c229a5315eeb3ef5bab08da6044424637aa631a9375291fe
|
|
| MD5 |
cb3fa7c9995683a7365cb3cab91d13ea
|
|
| BLAKE2b-256 |
c66f1e82d206dc6eb6073746bf5c2e649a115213f99eba33f307334247def7da
|