From e1dee375c870a1771d87701c497b8c1734be6b8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 31 Dec 2013 14:25:56 +0100 Subject: [PATCH] logging: change default formatter to noop, fixes tests --- src/fnpjs/logging/logging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fnpjs/logging/logging.js b/src/fnpjs/logging/logging.js index 9954fad..23dbb24 100644 --- a/src/fnpjs/logging/logging.js +++ b/src/fnpjs/logging/logging.js @@ -51,7 +51,7 @@ _.extend(Logger.prototype, { throw new Error('Unknown handler: ' + handlerName); } if(!formatter) { - formatter = formatters.simple; + formatter = formatters.noop; } if(levels.indexOf(handlerLevel) !== -1 && levels.indexOf(level) >= levels.indexOf(handlerLevel)) { -- 2.20.1