mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
Merge ce893cb6db into 7c9032dff6
This commit is contained in:
commit
c06ac35742
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ import (
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"math/big"
|
"math/big"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
"slices"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -97,7 +98,7 @@ func (h *TerminalHandler) WithAttrs(attrs []slog.Attr) slog.Handler {
|
||||||
wr: h.wr,
|
wr: h.wr,
|
||||||
lvl: h.lvl,
|
lvl: h.lvl,
|
||||||
useColor: h.useColor,
|
useColor: h.useColor,
|
||||||
attrs: append(h.attrs, attrs...),
|
attrs: append(slices.Clone(h.attrs), attrs...),
|
||||||
fieldPadding: make(map[string]int),
|
fieldPadding: make(map[string]int),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue