mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
apply
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
28db6533fa
commit
8904ae9d26
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ func (h *bufHandler) terminalFormat(r slog.Record) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, attr := range attrs {
|
for _, attr := range attrs {
|
||||||
fmt.Fprintf(buf, " %s=%s", attr.Key, string(log.FormatSlogValue(attr.Value, nil)))
|
fmt.Fprintf(buf, " %s=%s", attr.Key, string(log.FormatSlogValue(r.Level, attr.Value, nil)))
|
||||||
}
|
}
|
||||||
buf.WriteByte('\n')
|
buf.WriteByte('\n')
|
||||||
return buf.String()
|
return buf.String()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue