improve the internal xxx logging here
This commit is contained in:
parent
cb6e84921e
commit
7e42eb22b3
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue