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.11.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for splogger-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d59ab1404871e94e92da2998540b3cd0283bb695044397fb180fb66b0d5230 |
|
MD5 | b22a8fded3d6c6d62f3617c807cdf80e |
|
BLAKE2b-256 | 14913c7bdf3fb4dcf23f6622622932e79ec1ac318ffa8e7b333e8c20d5ba0111 |