Simple logging library with colored and timestamped output by default
Project description
nice_logging
Simple logging library that has colored and timestamped output by default. Can be used as a drop-in replacement.
Installation
pip install nice_logging
(Or just grab the .py file)
Usage
import nice_logging
nice_logging.basicConfig(level=nice_logging.DEBUG)
logger = nice_logging.getLogger(__name__)
logger.info("Hello")
2023-07-23 11:27:33,571 [INFO ] [__main__] Hello
Or:
import nice_logging as logging
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
nice_logging-1.0.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for nice_logging-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ae16d287dce6999460b7f257186e377fb06eab0e9563366fb6d5d6db8e4fde |
|
MD5 | 075413bb316e9502d048695eec293b8c |
|
BLAKE2b-256 | ec542ba814c33919d7f34597194c137b68ec5543fca91fd2e0f28c837f7ca6ee |