Fixed readme example

This commit is contained in:
Gareth Jones 2010-08-11 13:39:33 +10:00
parent 8d542f1aa6
commit 17c98947cb

View File

@ -17,7 +17,7 @@ Run the tests with `node tests.js`. They use the awesome [jspec](http://visionme
See example.js: See example.js:
var log4js = require('log4js-node'); var log4js = require('log4js');
log4js.addAppender(log4js.consoleAppender()); log4js.addAppender(log4js.consoleAppender());
log4js.addAppender(log4js.fileAppender('logs/cheese.log'), 'cheese'); log4js.addAppender(log4js.fileAppender('logs/cheese.log'), 'cheese');