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
sclogging-1.0.4.tar.gz
(3.0 MB
view hashes)
Built Distribution
Close
Hashes for sclogging-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72eaa33a74b9cfccb7d0daf228ecc9a2c638f0c157bcb48891ec9d2f65dd8b0c |
|
MD5 | 9d7104237006efcf7653421fbc39c3e5 |
|
BLAKE2b-256 | 1bc9d8dd51c33fca5c3085630271d2f2304e8926a1f99880d6f06be67ce17ade |