improve the internal xxx logging here

This commit is contained in:
Trent Mick 2012-06-20 09:07:57 -07:00
parent cb6e84921e
commit 7e42eb22b3

View file

@ -662,8 +662,8 @@ Logger.prototype._emit = function (rec) {
this.streams.forEach(function (s) { this.streams.forEach(function (s) {
if (s.level <= level) { if (s.level <= level) {
xxx('writing log rec "%s" to "%s" stream (%d <= %d)', obj.msg, s.type, xxx('writing log rec "%s" to "%s" stream (%d <= %d): %s',
s.level, level); obj.msg, s.type, s.level, level, str);
s.stream.write(str); s.stream.write(str);
} }
}); });