Skip to content

Commit

Permalink
remove commented code and no-op space
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger authored and holiman committed Nov 29, 2023
1 parent d929f63 commit 632a3f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions log/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
writeAttr := func(attr slog.Attr, first, last bool) {
//if !first {
buf.WriteByte(' ')
//}

if color != "" {
buf.WriteString(color)
Expand Down

0 comments on commit 632a3f8

Please sign in to comment.