'--' sep should be indented with its content

This commit is contained in:
Trent Mick 2012-02-06 14:49:06 -08:00
parent 543ef15b84
commit 632c044ad3

View file

@ -312,7 +312,7 @@ function handleLogLine(line, opts) {
if (rec.err && rec.err.stack) { if (rec.err && rec.err.stack) {
details.push(indent(rec.err.stack)) details.push(indent(rec.err.stack))
} }
details = (details.length ? details.join('\n--\n') + '\n' : ''); details = (details.length ? details.join('\n --\n') + '\n' : '');
emit(format("[%s] %s: %s on %s%s:%s%s\n%s", emit(format("[%s] %s: %s on %s%s:%s%s\n%s",
rec.time, rec.time,
upperNameFromLevel[rec.level] || "<unknown-level " + rec.level + ">", upperNameFromLevel[rec.level] || "<unknown-level " + rec.level + ">",