🐀 Ratlog.py
Application Logging for Rats, Humans and Machines
Disclaimer: The Ratlog specification is still alpha status and might be subject to breaking changes. Beware, because of that, this API and format might change significantly. We will try our best to tag a stable release as soon as possible. Leave feedback and help us get there faster!
>>> import ratlog
>>> log = ratlog.Log()
>>> log("hello world")
hello world
# Add fields
>>> log("counting", {"count": 1})
counting | count: 1
# Add fields and tag
>>> log("counting", {"count": -1}, "negative")
[negative] counting | count: -1
# Create another logger bound to a tag
>>> warn = ratlog.Log("warning")
>>> warn("disk space low")
[warning] disk space low
# Adding more tags
>>> crit = ratlog.Log("warning", "critical")
>>> crit("shutting down all servers")
[warning|critical] shutting down all servers
Metadata
Release files for ratlog 0.1.1
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 |
|---|---|---|---|---|
| ratlog-0.1.1.tar.gz | 2.6 kB | Without provenance | Details for ratlog-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ratlog-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ratlog-0.1.1-py3-none-any.whl |
Total release size: 5.2 kB
Release files / ratlog-0.1.1.tar.gz
| Download URL | ratlog-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c229caefcd42be1d631e22c695f57fd33c02a2fc022c380cb0862949041046d0
|
|
BLAKE2b-256 checksum How to use checksums |
38d01fb3396825a20b85b6555695e1aa56cde7f91453519895b3a6f0d7db23bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ratlog-0.1.1-py3-none-any.whl
| Download URL | ratlog-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
610eac568045e4da3ad25a077b61859a166b3f6a18a57265668b703066155241
|
|
BLAKE2b-256 checksum How to use checksums |
8c5a97c691044aa14a0b934c229cd74b4cd012cb8a483a8a57d16f684b55397d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ratlog 0.1.1
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.