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
+1 -1
View File
@@ -17,7 +17,7 @@ describe('../lib/appenders/console', function() {
}
}
)
, appender = appenderModule.configure(
, appender = appenderModule(require('../lib/layouts'))(
{ layout: { type: "messagePassThrough" } }
);