Skip to main content

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.

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)

Source distribution for silo 0.2
File Size Uploaded
silo-0.2.tar.gz 3.5 kB Details

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

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page