Withlog
Logging as a context manager.
Visually inspired by how Credo looks like, I always find difficult to communicate with user in command line interface. So this is a logging/printing system which is more block based than line base, and with color also.
The following will show a nice formatted message :
with Message('Hello there') as log:
log('This is a Logging message context manager')
log('it support nesting and will render in a User friendly way')
log('I need to fix multi \nline \nstring')
You can nest these:
with Message('Hello there') as log:
log('This is a Logging message context manager')
log('it support nesting and will render in a User friendly way')
log('I need to fix multi \nline \nstring')
with Warning('Nested it does support') as log1:
log1('like Yoda speach order ')
log1('of words are')
with Critical('Come to the dark side') as log2:
log2('we have cookies')
with OK("Paternity test") as log3:
log3('I am your father')
To get nested messages:
Metadata
Release files for withlog 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| withlog-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for withlog-0.0.3-py2.py3-none-any.whl |
Release files / withlog-0.0.3-py2.py3-none-any.whl
| Download URL | withlog-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3800d684ce1dca5a3ee895cbaf3d405238b8611755b037873e28b5d62ba7d8ed
|
|
BLAKE2b-256 checksum How to use checksums |
d7c819bccf635e7a8e2dbeb9d032120c40c2ef91bcc7a16588d67164fc015f74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for withlog 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.