Skip to content
schiresonPublic

About

An easier, centralized way to setup logging in applications.

Topics

Resources

Stars

1 star

Watchers

8 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

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"

About

An easier, centralized way to setup logging in applications.

Topics

Resources

Stars

1 star

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages