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.2.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.2.tar.gz.
File metadata
- Download URL: sensible-1.0.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ffafd0c5ba7b0e2128ccaf88aa68febbfc2b795af58409f92eab8015eb5fcf9
|
|
| MD5 |
4312b92b96f352bb703307f9ce31790f
|
|
| BLAKE2b-256 |
2e44801e7fc9b719439b122a6e2d021a3c97ba1ead92eeb9dc09119a7d31b8b3
|
File details
Details for the file sensible-1.0.2-py2-none-any.whl.
File metadata
- Download URL: sensible-1.0.2-py2-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac8b741607d4777e410688710a8557be6189692c5b0fbf073436c634f5006283
|
|
| MD5 |
9f741154b56df81774948de0b7dfa2dd
|
|
| BLAKE2b-256 |
7c46db23b4cf27015ad87bec08f8d62eefb45a1e76796040dad82537cf48c944
|