Skip to main content

A simple and sensible logging config

Project description

A “Sensible” Logging Configuration

You simply do this:

>>> from sensible.loginit
import logger
>>> log = logger("MyApp")
2009-08-04 23:56:22,583 - MyApp - INFO - stuff
Environmental Variable

If you want to print log.debug messages, set the environmental variable:


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

sensible-1.0.1.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

sensible-1.0.1-py2-none-any.whl (2.7 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page