Disabling the console.log replacement

This commit is contained in:
csausdev
2011-04-17 17:46:13 +10:00
parent d9bfc5db44
commit 9f4878d82c
2 changed files with 4 additions and 3 deletions

View File

@@ -530,7 +530,7 @@ vows.describe('log4js').addBatch({
assert.equal(date.toFormattedString(), '2010-01-11 14:31:30.005');
}
},
/** Disabling the console.log replacement ****
'console' : {
topic: function() {
return require('../lib/log4js')();
@@ -561,7 +561,7 @@ vows.describe('log4js').addBatch({
assert.equal(logEvent.level.toString(), "TRACE");
}
},
*/
'configuration persistence' : {
'should maintain appenders between requires': function () {
var logEvent, firstLog4js = require('../lib/log4js')(), secondLog4js;