diff --git a/lib/layouts.js b/lib/layouts.js index 7daec65..1b233ea 100644 --- a/lib/layouts.js +++ b/lib/layouts.js @@ -49,10 +49,9 @@ function formatLogData(logData) { if (output) { output += ' '; } + output += util.inspect(item); if (item && item.stack) { - output += item.stack; - } else { - output += util.inspect(item); + output += "\n" + item.stack; } });