From 41c3a06eeff4dff6f1a181057000c7133b0ea0b2 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 8 Jan 2016 15:41:01 +0200 Subject: [PATCH] fixed #284 --- lib/utils/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/logger.js b/lib/utils/logger.js index eaa9d9d..81dd3e2 100644 --- a/lib/utils/logger.js +++ b/lib/utils/logger.js @@ -111,7 +111,7 @@ var ENV_VERBOSITY = process.env.VERBOSITY || 2; console[item.name] = function () { - if(verbosity[ENV_VERBOSITY].indexOf(fnName) === -1) + if(verbosity[ENV_VERBOSITY].indexOf(item.name) === -1) return false; var args = Array.prototype.slice.call(arguments);