Skip to content

Commit

Permalink
comment goid to slog handler
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Oct 19, 2024
1 parent 55c7598 commit 247534a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slog.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ func (h *slogJSONHandler) Handle(_ context.Context, r slog.Record) error {
e.buf = append(e.buf, file...)
e.buf = append(e.buf, `","line":`...)
e.buf = strconv.AppendInt(e.buf, int64(line), 10)
e.buf = append(e.buf, `,"goid":`...)
e.buf = strconv.AppendInt(e.buf, int64(goid()), 10)
// e.buf = append(e.buf, `,"goid":`...)
// e.buf = strconv.AppendInt(e.buf, int64(goid()), 10)
e.buf = append(e.buf, '}')
}

Expand Down

0 comments on commit 247534a

Please sign in to comment.