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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de1d1e1d8cd956dde79ecb887c0707f7741b966a438a4d039517fbc3e8e50d6 |
|
MD5 | 80d9ea3de237b39f934b2edf0036e858 |
|
BLAKE2b-256 | a68f463a4e29cb84f39a8273fa748dbaa8f03a38e46b94976c89d45b280ea0be |