ctxkey
A library to manage context keys. Additionally implements conenience functions to log the keys with slog. (by sollniss)
slog-multi
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing... (by samber)
ctxkey | slog-multi | |
---|---|---|
2 | 2 | |
3 | 359 | |
- | - | |
3.4 | 6.3 | |
about 1 year ago | 17 days ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ctxkey
Posts with mentions or reviews of ctxkey.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-01.
- 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.)
slog-multi
Posts with mentions or reviews of slog-multi.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing ctxkey and slog-multi you can also consider the following projects:
slog-formatter - 🚨 slog: Attribute formatting
eris - Error handling library with readable stack traces and flexible formatting support 🎆
oops - 🔥 Error handling library with context, assertion, stack trace and source fragments
slogx - slog logger extensions
slog-gin - 🚨 Gin middleware for slog logger
zap - Blazing fast, structured, leveled logging in Go.
slog-sentry - 🚨 slog: Sentry handler
exception - A simple utility package for exception handling with try-catch in Golang
slogt - Bridge between Go testing.T and slog.
slogmw - Middleware for the go standard library log/slog package
err2 - Automatic and modern error handling package for Go