slogx
slog logger extensions (by cappuccinotm)
ctxkey
A library to manage context keys. Additionally implements conenience functions to log the keys with slog. (by sollniss)
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.
slogx
Posts with mentions or reviews of slogx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-01.
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.)
What are some alternatives?
When comparing slogx and ctxkey you can also consider the following projects:
slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
slog-formatter - 🚨 slog: Attribute formatting
oops - 🔥 Error handling library with context, assertion, stack trace and source fragments
zap - Blazing fast, structured, leveled logging in Go.