From: Aleksander Ɓukasz Date: Tue, 31 Dec 2013 13:25:56 +0000 (+0100) Subject: logging: change default formatter to noop, fixes tests X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/e1dee375c870a1771d87701c497b8c1734be6b8a?ds=sidebyside;hp=--cc logging: change default formatter to noop, fixes tests --- e1dee375c870a1771d87701c497b8c1734be6b8a 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)) {