Skip to content

Commit

Permalink
remove fields written into "PartsOrder" (rs#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamko147 authored and pablitoc committed Apr 7, 2023
1 parent 08fceee commit 78d6626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions console.go
Expand Up @@ -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)
Expand Down

0 comments on commit 78d6626

Please sign in to comment.