A python library that helps Stackdriver consume python logs appropriately built on madzak/python-json-logger
Project description
pysdl
Python Stackdriver Logger - A python library that helps Stackdriver consume python logs appropriately
Installing pysdl
pip install pysdl
Implementing this in your app
In Django:
settings.py ->
from pysdl.logger_config import logging_dict
LOGGING = logging_dict
In regular python apps:
from logging.config import dictConfig
from pysdl.logger_config import logging_dict
dictConfig(logging_dict)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysdl-1.1.0.post1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pysdl-1.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 343a72536292b8f3c3ae5c4defb039a3a7918d493afc54b36051c2acf41983b0 |
|
MD5 | f26df16addcbb2a9f2934d3d9f2439c9 |
|
BLAKE2b-256 | 5ac3138e310f5565595f3c3063469989e23cf14ec8a11732dee762523f624ffa |