A simple utility package for Python logging with colors
Project description
colorlogging
Makes logging colorful!
Example of colorlogging output
Installation
Simply run
pip install colorlogging
Usage
To configure logging, call configure_logging
like so:
import colorlogging
import logging
logger = logging.getLogger(__name__)
def main() -> None:
colorlogging.configure()
logger.info("Hello, world!")
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
colorlogging-0.0.1.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file colorlogging-0.0.1.tar.gz
.
File metadata
- Download URL: colorlogging-0.0.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217268e10b3706ac47c6b5e4731b24e700a6ea174211852611a1d5f5f9201cce |
|
MD5 | eba2848702fc7ec721b49b548628d667 |
|
BLAKE2b-256 | c2deeb8085faf2a8b72efa7d8661ec86fc2be5c3de5b4affebde675d9cbdeb82 |
File details
Details for the file colorlogging-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: colorlogging-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e98f0fbcdee66195a7bddb08b430b2ac36132f9718e77841d3fa0d3e0671b06 |
|
MD5 | 5c8b790d2d497ba17f9fefb28c2ef2bb |
|
BLAKE2b-256 | bf9fa12ef5171143db59f773ead81e0652acb02e5436c15701d252a3c67ef097 |