Update log4js.js

Overlooked that there was already a var with '[all]'.
This commit is contained in:
Rolf Koenders
2014-01-23 10:34:56 +01:00
parent e7c0b0da52
commit 6ae01b2b84

View File

@@ -166,7 +166,7 @@ function configureLevels(levels) {
if (levels) {
for (var category in levels) {
if (levels.hasOwnProperty(category)) {
if(category === "all") {
if(category === ALL_CATEGORIES) {
setGlobalLogLevel(levels[category]);
}
getLogger(category).setLevel(levels[category]);