A Python module (with the help of coloredlogs) to add color to logs.
Project description
sclogging
A Python module (with the help of coloredlogs) to add color to logs.
Still working on docs.
get_logger is where to get started.
Some options allow certain customizations in the records themselves (e.g. %f.red%something%f%) sets the FORE color for that word then returns to default color of that level of logging.
Other options: Colored spacer
Easily setting seperate options for stderr and file logs
Custom timer class
Allows this:
var_a = Timer(level="INFO")
var_a.start_timer(Note="I started it")
Log record: time spacer var_a.module.function.start_timer INFO I started it
Wraps logging, colorama.BACK, FORE, CURSOR
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
File details
Details for the file sclogging-1.0.5.tar.gz
.
File metadata
- Download URL: sclogging-1.0.5.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f484387e05394903e2153519c36d4533772d61ea05fa0c8131f0fc69459472 |
|
MD5 | 015169e52aad3de8eaf458b31b8d7a95 |
|
BLAKE2b-256 | 845d06ad3b7d9e7fedb7ff636f6032fff94fd382aba45aae6f56c57ca27cb44d |
File details
Details for the file sclogging-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: sclogging-1.0.5-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1775fcecb1231002311011319c8956beceb19b39e96f9f6a7e37c4703dc77c1a |
|
MD5 | 8058574518f2a541fbcc888004f8cbe2 |
|
BLAKE2b-256 | 062f9bf76c51bd071c8f84b327e5d4082ab3277ca51b0174d9d0fafe4bcbbc57 |