From: Aleksander Ɓukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
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

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)) {