nogap
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -26,3 +26,7 @@ /** | ||
enabled: true, | ||
maxArgsLength: 120 | ||
maxArgsLength: 120, | ||
blackList: { | ||
functions: {}, | ||
components: {} | ||
} | ||
}, | ||
@@ -222,5 +226,7 @@ | ||
traceFunctionCall: function(functionName, args) { | ||
traceFunctionCall: function(prefix, functionName, args) { | ||
if (!this.Shared.TraceCfg.enabled) return; | ||
this.traceLog('calling ' + this.Shared.functionCallToString(functionName, args)); | ||
if (this.Shared.TraceCfg.blackList.functions[functionName]) return; | ||
this.traceLog('calling ' + prefix + this.Shared.functionCallToString(functionName, args)); | ||
}, | ||
@@ -230,3 +236,5 @@ | ||
if (!this.Shared.TraceCfg.enabled) return; | ||
this.traceFunctionCall(componentName + '.' + functionName, args); | ||
if (this.Shared.TraceCfg.blackList.components[componentName]) return; | ||
this.traceFunctionCall('', componentName + '.' + functionName, args); | ||
}, | ||
@@ -236,3 +244,3 @@ | ||
if (!this.Shared.TraceCfg.enabled) return; | ||
this.traceFunctionCall('[from ' + source + '] ' + componentName + '.' + functionName, args); | ||
this.traceFunctionCall('[from ' + source + ']', componentName + '.' + functionName, args); | ||
}, | ||
@@ -239,0 +247,0 @@ } |
{ | ||
"name": "nogap", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Dominik Seifert", |
536434
9559