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 details)

Uploaded Source

Built Distribution

setuplog-0.4.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file setuplog-0.4.1.tar.gz.

File metadata

  • Download URL: setuplog-0.4.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.17 Linux/5.15.0-1041-azure

File hashes

Hashes for setuplog-0.4.1.tar.gz
Algorithm Hash digest
SHA256 15a029c084fc8d860d1ca7ed16409ee2f3b9bbf1eca74061f3e036f2a8cb9063
MD5 188aa73b03d8a316c05ebad26d10d019
BLAKE2b-256 76239b9e09750b7602d01887cf9427b533d645f0e2d9dcec65723f046192133e

See more details on using hashes here.

File details

Details for the file setuplog-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: setuplog-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.17 Linux/5.15.0-1041-azure

File hashes

Hashes for setuplog-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4426d2aa0f7b93bc64293ea8ff45e12b5bb94e4999b4f9065529eb9b39bc299e
MD5 4dc5f7a4b4a67ee718eeb5f9d56aa8f6
BLAKE2b-256 12eb3f52a5a28dd659b75cc6c5b9603385e68799e8c1707b08e184ddae088f7d

See more details on using hashes here.

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