Structured logging in Go with log/slog
JSON logs from the Go standard library: log/slog handlers, a request ID added to every line through the context, log levels from config that change at runtime, and redacting passwords and tokens before they reach the log.