Skip to content

Commit

Permalink
Enabled replacement of node's console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
anup committed Sep 10, 2012
1 parent c873591 commit 1b2ac11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ var log4js = require("log4js");
log4js.configure({
appenders:[
{ type:"console" }
]
],
replaceConsole: true
});

log4js.setGlobalLogLevel("INFO");
Expand Down

0 comments on commit 1b2ac11

Please sign in to comment.