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.12.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for splogger-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 145fdd1acafe5ec7d6d902c1a1da52503ccfca76a11d1e895a7ea0f5584117be |
|
MD5 | 6864076233c0b038aa8c034638862568 |
|
BLAKE2b-256 | 6a146843c3de761ace059f111017e27800ddfbf5994446ad6ad080a27c57f16d |