genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[Go] Logging instrumentation does not support logging with context

Open jannwitt opened this issue 1 year ago • 0 comments

Describe the bug Current logging does not use context. This makes it hard to use them for debugging, because we cannot see our application defined attributes (such as request id).

Expected behavior Use e.g. slog.DebugContext to add logs to instead of slog.Debug. This would allow us to see the attributes.

jannwitt avatar Aug 11 '25 13:08 jannwitt