Closed AlekSi closed 2 weeks ago
With kv-only: false, attr-only: true calls like l.With("a", "b") are reported as "key-value pairs should not be used". But there is no non-kv API for that operation.
kv-only: false, attr-only: true
l.With("a", "b")
But there is no non-kv API for that operation.
slog.With(slog.String("a", "b")).Info("test")
@AlekSi the above works for me 🤔
Doh! You right, sorry for the noise
With
kv-only: false, attr-only: true
calls likel.With("a", "b")
are reported as "key-value pairs should not be used". But there is no non-kv API for that operation.