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.6.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file quick_colorlog-0.0.6.tar.gz
.
File metadata
- Download URL: quick_colorlog-0.0.6.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6daa57085792564886b720511fdaefa16274513209744fe3ea26149f7c90108 |
|
MD5 | 363cf2a91895d8e78c2980027fac144d |
|
BLAKE2b-256 | 033bc3db6761f79eb3af6189df9f84f11bb56281015db84f868a9f2cfc50cbed |
File details
Details for the file quick_colorlog-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: quick_colorlog-0.0.6-py3-none-any.whl
- Upload date:
- Size: 2.9 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 | 6c7d6e13a07b8ad063118d98fcc714292bb40cccf9682df74d0f0a80a85269f3 |
|
MD5 | fa0d186ff210b54b3b511557854f0187 |
|
BLAKE2b-256 | 944a6df1a59456976c1e78b49d5d9f18b79bffb1456b20d160095ff223b4b9cb |