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()
Metadata
Release files for splogger 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| splogger-0.1.4.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| splogger-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / splogger-0.1.4.tar.gz
| Download URL | splogger-0.1.4.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5788f0776825d5c322707757fcacec0e5d1c89a411500c7785fe3ef0155cfa68
|
|
BLAKE2b-256 checksum How to use checksums |
e6ace907f8fdbb609b032bb4fc18e08ea28624dde654002a458fae88a5ee3c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / splogger-0.1.4-py3-none-any.whl
| Download URL | splogger-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3dee1ed168cf15a2bace8acad4889e3b492efb5453611bba862bc37c3ec92ab
|
|
BLAKE2b-256 checksum How to use checksums |
bfa12b5984ec2de346a4403ce9b52b2cc84de27c297960b12359ed189bd06559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|