Simple Python Logger
Project description
Simple Python Logger
A simple tool to have nicer console output
Features
- Easy to use success/warning/error/debug comphrensive output
- Easy to use current task information spinner
Usage
To mark a function as 'output worthy' use the @spinner decorator
import logger
from time import sleep
@logger.spinner("Printing OK")
def wait_and_print_ok():
sleep(4)
logger.success("OK")
print('Normal log')
wait_and_print_ok()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
splogger-0.0.10.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for splogger-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1751e325158dc8d221c0320c71ab36067b963e0c1578b5d5feaa67733d2d3ac |
|
MD5 | f0297303bfdd4d924b342a424fe98e85 |
|
BLAKE2b-256 | 8f6fe5712d4e67f1a42f53bdd1ad5118e77b3f7f7cd892caca87e451dbb5ccc3 |