diff --git a/go.mod b/go.mod index ad3cf85..fd10c7e 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/taigrr/log-socket/v2 -go 1.25.6 +go 1.26.0 require github.com/gorilla/websocket v1.5.3 diff --git a/slog/handler.go b/slog/handler.go index 0eb219b..c75c9d9 100644 --- a/slog/handler.go +++ b/slog/handler.go @@ -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 }