mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
log: fix receiver name
This commit is contained in:
parent
b04d140c6a
commit
b64c1e3e29
1 changed files with 4 additions and 4 deletions
|
|
@ -101,10 +101,10 @@ func (h *TerminalHandler) WithAttrs(attrs []slog.Attr) slog.Handler {
|
|||
}
|
||||
|
||||
// ResetFieldPadding zeroes the field-padding for all attribute pairs.
|
||||
func (t *TerminalHandler) ResetFieldPadding() {
|
||||
t.mu.Lock()
|
||||
t.fieldPadding = make(map[string]int)
|
||||
t.mu.Unlock()
|
||||
func (h *TerminalHandler) ResetFieldPadding() {
|
||||
h.mu.Lock()
|
||||
h.fieldPadding = make(map[string]int)
|
||||
h.mu.Unlock()
|
||||
}
|
||||
|
||||
type leveler struct{ minLevel slog.Level }
|
||||
|
|
|
|||
Loading…
Reference in a new issue