fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: really minor refactoring
[fnpeditor.git]
/
src
/
fnpjs
/
logging
/
logging.js
diff --git
a/src/fnpjs/logging/logging.js
b/src/fnpjs/logging/logging.js
index
9954fad
..
23dbb24
100644
(file)
--- 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) {
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)) {