veqryn / slog-context

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.
62Updated last month

Alternatives and similar repositories for slog-context:

Users that are interested in slog-context are comparing it to the libraries listed below