fixed a possible typo

This commit is contained in:
KKudryavtsev 2015-12-04 19:42:28 +00:00
parent 6a1f28955d
commit 0018342c6d

View File

@ -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);
@ -162,4 +162,4 @@ var ENV_VERBOSITY = process.env.VERBOSITY || 2;
return fn.apply( this, item.formatter(sign, message) );
}
});
});