ctxkey
A library to manage context keys. Additionally implements conenience functions to log the keys with slog. (by sollniss)
slog-formatter
🚨 slog: Attribute formatting (by samber)
ctxkey | slog-formatter | |
---|---|---|
2 | 1 | |
3 | 109 | |
- | - | |
3.4 | 6.4 | |
about 1 year ago | 27 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-formatter
Posts with mentions or reviews of slog-formatter.
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-formatter you can also consider the following projects:
oops - 🔥 Error handling library with context, assertion, stack trace and source fragments
slog-gin - 🚨 Gin middleware for slog logger
slogx - slog logger extensions
slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
zap - Blazing fast, structured, leveled logging in Go.
slog-datadog - 🚨 slog: Datadog handler
🎚Shift - 🎚Shift is an optioned circuit breaker implementation
slog-sentry - 🚨 slog: Sentry handler
tracerr - Golang errors with stack trace and source fragments.
custom-log-marshaler - Attempt to R.I.P PII or unnecessary info in logs and reduce log ingestion costs in the process.