@compas/insight
Advanced tools
Comparing version 0.0.109 to 0.0.110
{ | ||
"name": "@compas/insight", | ||
"version": "0.0.109", | ||
"version": "0.0.110", | ||
"description": "Simple logger in NDJSON format", | ||
@@ -35,3 +35,3 @@ "main": "./index.js", | ||
}, | ||
"gitHead": "9f9183bd35de467eb134a6b45256de05edb39573" | ||
"gitHead": "c5c836870d2be6c9b55f421eb64035a176fa70d1" | ||
} |
@@ -10,2 +10,3 @@ import { writeNDJSON, writePretty } from "./writer.js"; | ||
export function newLogger(options) { | ||
// Make a copy of of env, process.env fetching is slow | ||
if (environment === undefined) { | ||
@@ -29,2 +30,3 @@ environment = JSON.parse(JSON.stringify(process.env)); | ||
} | ||
// Stringify context once | ||
context = JSON.stringify(context); | ||
@@ -31,0 +33,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18261
484