improve the internal xxx logging here

master
Trent Mick 2012-06-20 09:07:57 -07:00
parent cb6e84921e
commit 7e42eb22b3
1 changed files with 2 additions and 2 deletions

View File

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