Fixed readme example
This commit is contained in:
parent
8d542f1aa6
commit
17c98947cb
@ -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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user