metovlogs
Dead simple Python logging.
metovlogs is a very simple logging library. Setup is one line, then you can use it as a drop-in print replacement. Sane and useful log format out of the box. Best for small or early stage projects.
Usage
Initialize the logger by calling get_log:
import metovlogs
# The name will be used to annotate the log
# __name__ is name of the current Python module
log = metovlogs.get_log(__name__)
Now you can use it as a drop-in replacement for all your prints:
# Do some stuff
log.info("Finished doing some stuff")
log.debug("About to start doing other stuff")
# Do some other stuff
metovlogs is like black for logs: You get reasonable behavior by default and minimal customization. This allows you to focus on developing without distraction. If you want to customize your logs more, you should use something else.
Installation
pip install metovlogs
Further reading
Release files for metovlogs 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metovlogs-0.1.7.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metovlogs-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / metovlogs-0.1.7.tar.gz
| Download URL | metovlogs-0.1.7.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff6e5a4e236e1512b290ff84a2d1da6c0d30dbcd65b199d3cf380bc6ba0aa8f2
|
|
BLAKE2b-256 checksum How to use checksums |
a3c34e2a1b848259e8edd0100f269182475051f5fffebec2396329ac84b9f245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / metovlogs-0.1.7-py3-none-any.whl
| Download URL | metovlogs-0.1.7-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d330b4c7b54a230cf4fa9671524369a133704c6808f1ea7fbf3d1fc8079f996d
|
|
BLAKE2b-256 checksum How to use checksums |
71da7fdc6f0beaf7cdbbca1b62543f39a61d02fd1ca4e760d569482471d63d32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|