added test for log roller, not written yet

This commit is contained in:
csausdev
2011-04-07 07:21:22 +08:00
committed by Gareth Jones
parent 80e3ed7174
commit 0258fda93c
3 changed files with 91 additions and 3 deletions
+1 -1
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: