mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
remove commented code and no-op space
This commit is contained in:
parent
d929f63b8f
commit
632a3f891f
1 changed files with 0 additions and 2 deletions
|
|
@ -96,9 +96,7 @@ func (h *TerminalHandler) TerminalFormat(buf []byte, r slog.Record, usecolor boo
|
||||||
|
|
||||||
func (h *TerminalHandler) logfmt(buf *bytes.Buffer, r slog.Record, color string) {
|
func (h *TerminalHandler) logfmt(buf *bytes.Buffer, r slog.Record, color string) {
|
||||||
writeAttr := func(attr slog.Attr, first, last bool) {
|
writeAttr := func(attr slog.Attr, first, last bool) {
|
||||||
//if !first {
|
|
||||||
buf.WriteByte(' ')
|
buf.WriteByte(' ')
|
||||||
//}
|
|
||||||
|
|
||||||
if color != "" {
|
if color != "" {
|
||||||
buf.WriteString(color)
|
buf.WriteString(color)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue