remove fields written into "PartsOrder" (#383)
This commit is contained in:
parent
a4ec5e4cdd
commit
2a13872817
|
@ -124,6 +124,7 @@ func (w ConsoleWriter) Write(p []byte) (n int, err error) {
|
||||||
|
|
||||||
for _, p := range w.PartsOrder {
|
for _, p := range w.PartsOrder {
|
||||||
w.writePart(buf, evt, p)
|
w.writePart(buf, evt, p)
|
||||||
|
delete(evt, p)
|
||||||
}
|
}
|
||||||
|
|
||||||
w.writeFields(evt, buf)
|
w.writeFields(evt, buf)
|
||||||
|
|
Loading…
Reference in New Issue