stacklogging
Advanced tools
+1
-1
| Metadata-Version: 1.0 | ||
| Name: stacklogging | ||
| Version: 0.1.6 | ||
| Version: 0.2.0 | ||
| Summary: Python structured logging with Google Cloud Stackdriver API integration | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bufferapp/stacklogging |
+1
-1
@@ -8,3 +8,3 @@ # !/usr/bin/env python | ||
| packages=find_packages(), | ||
| version="0.1.6", | ||
| version="0.2.0", | ||
| description="Python structured logging with Google Cloud Stackdriver API integration", | ||
@@ -11,0 +11,0 @@ author="David Gasquez", |
| Metadata-Version: 1.0 | ||
| Name: stacklogging | ||
| Version: 0.1.6 | ||
| Version: 0.2.0 | ||
| Summary: Python structured logging with Google Cloud Stackdriver API integration | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bufferapp/stacklogging |
@@ -55,3 +55,7 @@ import logging | ||
| for key in extra_keys: | ||
| payload[key] = record.__dict__[key] | ||
| try: | ||
| json.dumps(record.__dict__[key]) # serialization/type error check | ||
| payload[key] = record.__dict__[key] | ||
| except TypeError: | ||
| payload[key] = str(record.__dict__[key]) | ||
@@ -58,0 +62,0 @@ return json.dumps(payload) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
5099
3.55%80
5.26%