Colorized logging with Python.
Project description
quick-colorlog
Inspired by coloredlogs
but without the subprocesses.
Quickstart
from quick_colorlog import init_colors
init_colors()
Defaults
By default, the log level is set to logging.INFO
and the output stream is
attached to sys.stderr
. To change these, pass arguments to init_colors()
from quick_colorlog import init_colors
init_colors(level=logging.DEBUG, output=sys.stdout)
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
quick_colorlog-0.0.2.tar.gz
(1.7 kB
view details)
Built Distribution
File details
Details for the file quick_colorlog-0.0.2.tar.gz
.
File metadata
- Download URL: quick_colorlog-0.0.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0458b772c65e4fcc26f2367401e791054fb0403a51aa3cbab1a52cc4e2a084 |
|
MD5 | 9b5ec433125fc8e231689c7b9c8467d7 |
|
BLAKE2b-256 | 22a8f67c9ee7f6a00ef55985191ca9431d75b20b8a8839d9ee801f6d04e3cd62 |
File details
Details for the file quick_colorlog-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: quick_colorlog-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53961ae7f72f596725e124ed751cc1639336f7cb2f4e30e313219e44d859b914 |
|
MD5 | 94417b57aaf342dc1d4260cec3b7d646 |
|
BLAKE2b-256 | 8ad9f3d91533ddc4dbf90fda9e84b268b094f0c2e77f7ad85023dadbf42317b1 |