removed a mention of console.log

This commit is contained in:
csausdev 2011-04-17 17:55:42 +10:00
parent f386f003be
commit 1ee8cfcd74

View File

@ -23,9 +23,6 @@ Minimalist version:
var log4js = require('log4js')();
var logger = log4js.getLogger();
logger.debug("Some debug messages");
Even more minimalist version:
require('log4js')();
console.debug("Some debug messages");
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