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=59f806bb8a3b304b1c1293d8634bcf38bcd31332 logging: change default formatter to noop, fixes tests --- 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)) {