Skip to main content

A RAII style logging module

Project description

A RAII style logging module.

from wcpan.logger import setup, DEBUG

setup([
    'module_name_1',
    'module_name_2',
], '/var/log/your.log')

DEBUG(__name__) << 'message'

Project details


Download files

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

Source Distribution

wcpan.logger-1.2.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

wcpan.logger-1.2.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page