cf-nodejs-logging-support
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -584,3 +584,13 @@ const util = require("util"); | ||
if (Object.keys(customFields).length > 0) { | ||
logObject.custom_fields = customFields; | ||
temp = {}; | ||
temp.string = []; | ||
counter = 0; | ||
for(var key in customFields) { | ||
temp.string.push({ | ||
"k": key, | ||
"v": customFields[key], | ||
"n": counter++ | ||
}) | ||
} | ||
logObject["#cf"] = temp; | ||
} | ||
@@ -587,0 +597,0 @@ } |
{ | ||
"name": "cf-nodejs-logging-support", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "Logging tool for Cloud Foundry", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,3 +12,3 @@ # Node.js Logging Support for Cloud Foundry | ||
#### Version 2.0 introduced logging without Winston and changed custom fields to be parsed and reported as strings regardless of original type. | ||
#### Version 3.0 introduced dynamic log level thresholds, sensitive data reduction and a redesigned field configuration system | ||
#### Version 3.0 introduced dynamic log level thresholds, sensitive data redaction and a redesigned field configuration system | ||
#### Version 4.0 changed winston transport api | ||
@@ -26,3 +26,3 @@ #### Version 5.0 introduced convenient logging methods | ||
* Extendable field configuration | ||
* Sensitive data reduction | ||
* Sensitive data redaction | ||
* Can be bound to [Winston](https://github.com/winstonjs/winston) as transport | ||
@@ -29,0 +29,0 @@ |
98443
14
1485