added test for log roller, not written yet

This commit is contained in:
csausdev
2010-12-05 17:17:37 +11:00
parent 8145e3b08f
commit 4406f211c4
3 changed files with 91 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Minimalist version:
var log4js = require('log4js')();
var logger = log4js.getLogger();
logger.debug("Some debug messages");
By default, log4js outputs to stdout with the basic layout, so for the above you would see:
By default, log4js outputs to stdout with the coloured layout (thanks to [masylum](http://github.com/masylum)), so for the above you would see:
[2010-01-17 11:43:37.987] [DEBUG] [default] - Some debug messages
See example.js: