logging: small bugfix

This commit is contained in:
Avital Oliver
2013-06-17 14:26:21 -07:00
parent fefd11493f
commit 7406c73b2a

View File

@@ -113,6 +113,7 @@ Log._getCallerDetails = function () {
_.each(['debug', 'info', 'warn', 'error'], function (level) {
// @param arg {String|Object}
Log[level] = function (arg) {
var intercepted = false;
if (intercept) {
intercept--;
intercepted = true;