Fix "could not write" error missing carriage return (again)
This commit is contained in:
parent
7bcaa1a99e
commit
848482bc3d
2
event.go
2
event.go
|
@ -137,7 +137,7 @@ func (e *Event) msg(msg string) {
|
||||||
defer e.done(msg)
|
defer e.done(msg)
|
||||||
}
|
}
|
||||||
if err := e.write(); err != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue