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 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
Hashes for sclogging-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63faf8f16c4c58b14ba35695d93f811df5d792aea34fb23aded942539d6d383f |
|
MD5 | c6878bdd4c75816b3024511ba20ec3d5 |
|
BLAKE2b-256 | fec3a71460982b4c4eff54f6d0fcf809a59ac2edf06f5ebfe5b44bbfc5b7bf94 |