Blazing fast, structured, leveled logging in Go.
-
Updated
Jan 20, 2025 - Go
Blazing fast, structured, leveled logging in Go.
🔥 Error handling library with context, assertion, stack trace and source fragments
Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.
🚨 slog: Attribute formatting
Interactive viewer for JSON logs.
🚨 Echo middleware for slog logger
🚨 slog sampling: drop repetitive log records
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.
Add a description, image, and links to the structured-logging topic page so that developers can more easily learn about it.
To associate your repository with the structured-logging topic, visit your repo's landing page and select "manage topics."