Echo Logger
pip repo is here.
This is a simple echo logger for informative, warning and error messages.
Time and colored printing are supported.
This repository is mostly for my own use, but feel free to use it if you want.
Usage
# build (before you do this, don't forget to change the version id in setup.py)
python setup.py sdist bdist_wheel
# upload (before you do this, please rmv the outdated files of previous versions in dist/)
twine upload dist/*
# install
pip install echo-logger
# upgrade
pip install echo-logger --upgrade
Demo
Simple usage:
print_info("Hello World!")
print_warn("Hello World!")
print_err("Hello World!")
If you want to print with time:
print_info("Hello World!", with_time=True)
print_warn("Hello World!", with_time=True)
print_err("Hello World!", with_time=True)
If you want nothing to be printed (Let's say, you finished unit testing and want to run the whole program without any logger output):
echo_logger.echo_logger_debug = False # disable any logger functions from echo_logger
print_info("Hello World!")
print_warn("Hello World!")
print_err("Hello World!")
# No output at all.
Just so simple and straightforward.
Metadata
Release files for echo-logger 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| echo_logger-0.1.6.tar.gz | 6.7 kB | Without provenance | Details for echo_logger-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| echo_logger-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for echo_logger-0.1.6-py3-none-any.whl |
Total release size: 13.6 kB
Release files / echo_logger-0.1.6.tar.gz
| Download URL | echo_logger-0.1.6.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
021c42a12b8af50e629838fa3dac160be22999d4cbcdc9a74fd4bdd3b01288d1
|
|
BLAKE2b-256 checksum How to use checksums |
551d5f0af4eb32c7f9e544ae5dd1fcbf0a700a89dbf8b35dea3e7dc4aa7be5fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / echo_logger-0.1.6-py3-none-any.whl
| Download URL | echo_logger-0.1.6-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96c0e2fdd218e1eeb3f9a2310e19bb29e47764e1a9ebcec1517173a9baad6ec5
|
|
BLAKE2b-256 checksum How to use checksums |
f243a842eee6044cb4505344aa697833aa959412958a1c63bafd270861f2087b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Security for echo-logger 0.1.6
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.