Fix "could not write" error missing carriage return (again)

This commit is contained in:
Olivier Poitrey 2018-11-12 17:49:35 -08:00
parent 7bcaa1a99e
commit 848482bc3d
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ func (e *Event) msg(msg string) {
defer e.done(msg)
}
if err := e.write(); err != nil {
fmt.Fprintf(os.Stderr, "zerolog: could not write event: %v", err)
fmt.Fprintf(os.Stderr, "zerolog: could not write event: %v\n", err)
}
}