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.2.tar.gz
(3.0 MB
view hashes)
Built Distribution
Close
Hashes for sclogging-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8c2117f5aa03ef174f2efdf604ea78f2ace477df2b68f1cbe2c2cce0868a46 |
|
MD5 | a93b0cde037186e0a4eacae479eaae77 |
|
BLAKE2b-256 | 525d229acfa78ee2b636da21c5313c1623c4ddf3f6ad97161035f88c4d6d5843 |