A simple and sensible logging config
Project description
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
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sensible-1.0.1.tar.gz.
File metadata
- Download URL: sensible-1.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74b5ce136b92f9026fa1ef65a72618074a0b7a83d2f99a2a8130d4588f19fd0a
|
|
| MD5 |
f576114bc1d380b8dd13767e6a37b632
|
|
| BLAKE2b-256 |
ab6faa8f8392cedade7f29e1a1c2fc47d2308fd25759771df50f6583b96873c6
|
File details
Details for the file sensible-1.0.1-py2-none-any.whl.
File metadata
- Download URL: sensible-1.0.1-py2-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5dbd98b99838941112d4c432c7d6f437699acd34453876b71dce2ccc67466df
|
|
| MD5 |
8a1183f55da525d3a84786915adc40b3
|
|
| BLAKE2b-256 |
200be74f60115b0722e8bf1b4be333b37d03086e573063befb513d92295881f8
|