Skip to content

Commit

Permalink
fixed field name output
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Jan 18, 2024
1 parent 5f26a28 commit 16b13f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (h *handler) appendValue(buf *buffer, v slog.Value, quote bool) {
case *slog.Source:
h.appendSource(buf, cv)
default:
appendString(buf, fmt.Sprint(v.Any()), quote)
appendString(buf, fmt.Sprintf("%+v", v.Any()), quote)
}
}
}
Expand Down

0 comments on commit 16b13f5

Please sign in to comment.