@usecanvas/good-logfmt
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -66,2 +66,8 @@ 'use strict'; | ||
if (typeof event.data === 'object' && !Array.isArray(event.data)) { | ||
for (const key in event.data) { | ||
logObject[`data.${key}`] = event.data[key]; | ||
} | ||
} | ||
Logfmt.log(logObject); | ||
@@ -68,0 +74,0 @@ } |
{ | ||
"name": "@usecanvas/good-logfmt", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A Logfmt formatter for Good events", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
3199
86