console.log replacement does not handle empty log message #94

Closed
nomiddlename opened this Issue Sep 26, 2012 · 2 comments

1 participant

@nomiddlename

console.log() will write a newline to std out. When log4js replaces console.log function, calling console.log() outputs "undefined". This can be seen in mocha tests, which use console.log() extensively. log4js console replacements should behave in the same way as the real console.log.

@nomiddlename

This should be fixed when #117 is merged in.

@nomiddlename
Owner

Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment