skip to navigation
skip to content

sensible 1.0.2

A simple and sensible logging config

A “Sensible” Logging Configuration

You simply do this:

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

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

LOGGING_DEBUG = 1

 
File Type Py Version Uploaded on Size
sensible-1.0.2-py2-none-any.whl (md5) Python Wheel 2.7 2016-09-27 2KB
sensible-1.0.2.tar.gz (md5) Source 2016-09-27 1KB