Simply Logging
Sometimes you just don’t want to configure logging. Documentation
Features
Configuration using ENV variables
Low overhead debug operation (2 op codes)
Audit functions to track business operations
Configuration
export SILO_0=syslog_format:stderr
export SILO_1=json_format:stderr
export DEBUG=0
Examples
from silo import info, debug, audit
def hello(who='World'):
info(f'Hello, {who}!')
debug('done')
hello()
@audit
def login(username, password):
# do smart stuff here...
return False
login('duckie', 'secret')
This library is MIT licensed.
Metadata
Release files for silo 0.2
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 |
|---|---|---|---|---|
| silo-0.2.tar.gz | 3.5 kB | Without provenance | Details for silo-0.2.tar.gz |
Release files / silo-0.2.tar.gz
| Download URL | silo-0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d6a7cda0d2788e15353080263abdc535925610d8fd658523c9226cd30a19926
|
|
BLAKE2b-256 checksum How to use checksums |
291f86b5d9757391c75db5d7839a48e3628ad858432c4e9dfdfc3cdddfc059c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for silo 0.2
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.