changed the way appenders are loaded, so that they don't need to include log4js as a direct dependency

This commit is contained in:
Gareth Jones
2013-09-15 14:37:01 +10:00
parent 245b2e3b1a
commit 491c2709e7
12 changed files with 350 additions and 185 deletions
+3 -3
View File
@@ -30,12 +30,12 @@ describe('log4js in a cluster', function() {
cb(worker);
}
},
'./appenders/console': {
configure: function() {
'./appenders/console': function() {
return function() {
return function(event) {
events.push(event);
};
}
};
}
}
}