1
0
mirror of https://github.com/taigrr/log-socket synced 2026-03-20 17:12:24 -07:00

chore: update to Go 1.26, resolve slog LogValuer values

This commit is contained in:
2026-03-02 03:48:00 +00:00
parent 90471833d0
commit cac3d127ee
2 changed files with 2 additions and 1 deletions

View File

@@ -137,6 +137,7 @@ func (h *Handler) clone() *Handler {
}
func writeAttr(b *strings.Builder, groups []string, a slog.Attr) {
a.Value = a.Value.Resolve()
if a.Equal(slog.Attr{}) {
return
}