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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silo-0.2.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file silo-0.2.tar.gz.

File metadata

  • Download URL: silo-0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for silo-0.2.tar.gz
Algorithm Hash digest
SHA256 5d6a7cda0d2788e15353080263abdc535925610d8fd658523c9226cd30a19926
MD5 e904d700cd73aaf421ec0acdc7f508fe
BLAKE2b-256 291f86b5d9757391c75db5d7839a48e3628ad858432c4e9dfdfc3cdddfc059c4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2 This release

1 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