Skip to main content

No project description provided

Project description

CircleCI codecov Documentation Status

The pitch

Logging setup is one of those annoying things that one finds themselves relearning every time a new project is started.

setuplog attempts to centralize, and simplify the set of decisions one needs to make when bootstrapping a project.

# app.py
from setuplog import setup_logging

setup_logging(
    log_level='INFO',
    namespace='project_name',

    # opt into {}-style formatting!
    style='format',
)

# elsewhere
from setuplog import log

log.info('Info!')

Installing

pip install "setuplog"

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

setuplog-0.4.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

setuplog-0.4.1-py3-none-any.whl (7.2 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