slog-formatter
ctxkey
slog-formatter | ctxkey | |
---|---|---|
1 | 2 | |
85 | 3 | |
- | - | |
6.0 | 3.4 | |
19 days ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
slog-formatter
ctxkey
- Logging context values using slog
-
slogx - slog package extensions and middlewares
I've built something similar a while ago, and there doesn't seem to be a way to specify the hierarchy of the Attrs. (It would be nice to also be able to customize the order, but JSONs don't really have an order, so that is w/e.)
What are some alternatives?
slog-gin - 🚨 Gin middleware for slog logger
oops - 🔥 Error handling library with context, assertion, stack trace and source fragments
slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
slogx - slog logger extensions
slog-sentry - 🚨 slog: Sentry handler
tracerr - Golang errors with stack trace and source fragments.
slog-sampling - 🚨 slog sampling: drop repetitive log records
awesome-go-code-formatters - A curated list of Go code formatters (like gofmt)
color - Output coloring package with custom formatters for GoLang.
slog - Minimal structured logging library for Go
custom-log-marshaler - Attempt to R.I.P PII or unnecessary info in logs and reduce log ingestion costs in the process.
slogmw - Middleware for the go standard library log/slog package