removed a mention of console.log
This commit is contained in:
@@ -23,9 +23,6 @@ Minimalist version:
|
|||||||
var log4js = require('log4js')();
|
var log4js = require('log4js')();
|
||||||
var logger = log4js.getLogger();
|
var logger = log4js.getLogger();
|
||||||
logger.debug("Some debug messages");
|
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:
|
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
|
[2010-01-17 11:43:37.987] [DEBUG] [default] - Some debug messages
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user