From 7e42eb22b336c92ac4d86b0ef0abb8b0457c1d46 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Wed, 20 Jun 2012 09:07:57 -0700 Subject: [PATCH] improve the internal xxx logging here --- lib/bunyan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bunyan.js b/lib/bunyan.js index aa294f3..37dc4fd 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -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); } });