diff --git a/example.js b/example.js index b4eab22..66d9ce4 100644 --- a/example.js +++ b/example.js @@ -1,4 +1,4 @@ -var log4js = require('./lib/log4js'); +var log4js = require('./lib/log4js')(); log4js.addAppender(log4js.consoleAppender()); log4js.addAppender(log4js.fileAppender('cheese.log'), 'cheese');