@driffel/universal-google-logger
Advanced tools
Comparing version 0.6.2 to 0.6.3
{ | ||
"name": "@driffel/universal-google-logger", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Log across Google Cloud (GCE VMs, Firebase Functions, etc.) using one library.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -30,2 +30,8 @@ # Universal Google Logger | ||
info({ someField: "JSON payload" }); | ||
// Use the second optional parameter to add custom metadata | ||
info( | ||
{ someField: "JSON payload" }, | ||
{ resource: { labels: { customField: "My custom metadata value" } } } | ||
); | ||
``` | ||
@@ -32,0 +38,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
60694
98