@ikonintegration/ikapi 3.0.8 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Logger/IKLogger.js +2 -1
package/package.json
CHANGED
package/src/Logger/IKLogger.js
CHANGED
|
@@ -30,6 +30,7 @@ export default class IKLogger {
|
|
|
30
30
|
this._setupBindings();
|
|
31
31
|
//
|
|
32
32
|
this.log("Using logger with level: " + LOG_STRINGS[this._LOG_LEVEL]);
|
|
33
|
+
this.debug("logger config: ", this._config);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
//Public
|
|
@@ -113,7 +114,7 @@ export default class IKLogger {
|
|
|
113
114
|
/* Sensitive information handling */
|
|
114
115
|
_supressSensitiveInfo(value) {
|
|
115
116
|
//realy false
|
|
116
|
-
if (this._config.enableSensitiveFiltering !== undefined && !this._config.enableSensitiveFiltering) return value;
|
|
117
|
+
if (this._config.enableSensitiveFiltering !== undefined && (!this._config.enableSensitiveFiltering || this._config.enableSensitiveFiltering == 'false')) return value;
|
|
117
118
|
if (typeof value == "string") {
|
|
118
119
|
//content based replacement
|
|
119
120
|
blacklist.forEach((f) => {
|