New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

stacklogging

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacklogging - pypi Package Compare versions

Comparing version
0.1.6
to
0.2.0
+1
-1
PKG-INFO
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

@@ -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)