Argus - Simple Logging Made for a Simple Person (me)
I start many projects wanting to log things well, but often started with just print statements since they're just so easy. Then I'd hit some bug and instead of backing up, just add more and more print statements until I sorted the problem out, invariably forgetting to remove one somewhere, later.
I needed something better so I'd get around to adding logging at the begging instead of halfway through once I'd been bitten. But I know myself, so it had to be "almost as easy as just print()".
And thus Argus was born. It started out as basically just a quick auto-config of the logging system to now it can automatically log both to console (in color!) and to structured log files all without adding any code beside the starting import.
import argus
argus.debug("Why did this fail here?")
argus.error("Total bummer of an error: widget=$widget", widget=value)
A handful of config options are available, the most important of which can be set via environment variables so you can get the style and levels of logging you want without additional code overhead.
Full documentation with the logging commands, function decorators, and config options here: Argus-logging full documentation
Metadata
Release files for argus-logging 2.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| argus_logging-2.3.3.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| argus_logging-2.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / argus_logging-2.3.3.tar.gz
| Download URL | argus_logging-2.3.3.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e36ccfedee2ed8fe5c2f5900b479c504a8d171dede251f9f91d378b077860364
|
|
BLAKE2b-256 checksum How to use checksums |
1f633c7614cd940101f0e69604f342497d985ff3f592b1b800bf19ee8dfd9f5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.6 Windows/11
|
Release files / argus_logging-2.3.3-py3-none-any.whl
| Download URL | argus_logging-2.3.3-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dc070cb1e89304e54b67c4c3dda0153a86d2e5e8db6ea9d267372f453220847
|
|
BLAKE2b-256 checksum How to use checksums |
6e5b52b06e9e43331b9addf083a4ec377be47e18900937dd459b349bfa508a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.6 Windows/11
|