Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically read any custom context values, such as OpenTelemetry TraceID.
Last push 5 days ago
Created
Nov 2023
Total stars
196
Last 7 days
0
Last 30 days
0
Last 12 months
+39
README badge
[](https://bestofgo.dev/veqryn/slog-context)