Skip to content

Commit

Permalink
Make sure that we include a newline when writing stack traces, so tha…
Browse files Browse the repository at this point in the history
…t the next log entry occurs on its own line. (#73)
  • Loading branch information
ncabatoff authored Sep 24, 2020
1 parent 6fb9e94 commit 0bf8986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions intlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ func (l *intLogger) logPlain(t time.Time, name string, level Level, msg string,

if stacktrace != "" {
l.writer.WriteString(string(stacktrace))
l.writer.WriteString("\n")
}
}

Expand Down

0 comments on commit 0bf8986

Please sign in to comment.