mirror of
https://github.com/rs/zerolog
synced 2026-06-08 17:13:30 +00:00
remove fields written into "PartsOrder" (#383)
This commit is contained in:
@@ -124,6 +124,7 @@ func (w ConsoleWriter) Write(p []byte) (n int, err error) {
|
||||
|
||||
for _, p := range w.PartsOrder {
|
||||
w.writePart(buf, evt, p)
|
||||
delete(evt, p)
|
||||
}
|
||||
|
||||
w.writeFields(evt, buf)
|
||||
|
||||
Reference in New Issue
Block a user