wlxml: metadata wip - part of a new api approach
[fnpeditor.git] / src / fnpjs / logging / logging.js
index 9954fad..23dbb24 100644 (file)
@@ -51,7 +51,7 @@ _.extend(Logger.prototype, {
                     throw new Error('Unknown handler: ' + handlerName);
                 }
                 if(!formatter) {
                     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)) {
                 }
 
                 if(levels.indexOf(handlerLevel) !== -1 && levels.indexOf(level) >= levels.indexOf(handlerLevel)) {