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.1.4.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file splogger-0.1.4.tar.gz
.
File metadata
- Download URL: splogger-0.1.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5788f0776825d5c322707757fcacec0e5d1c89a411500c7785fe3ef0155cfa68 |
|
MD5 | 21835e1b5791d80e26560fc1ba2b24a3 |
|
BLAKE2b-256 | e6ace907f8fdbb609b032bb4fc18e08ea28624dde654002a458fae88a5ee3c17 |
File details
Details for the file splogger-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: splogger-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3dee1ed168cf15a2bace8acad4889e3b492efb5453611bba862bc37c3ec92ab |
|
MD5 | d94fe498ddd21f8a597129d89d2152e4 |
|
BLAKE2b-256 | bfa12b5984ec2de346a4403ce9b52b2cc84de27c297960b12359ed189bd06559 |