slog-sentry
slogmw
slog-sentry | slogmw | |
---|---|---|
- | 3 | |
33 | 8 | |
- | - | |
7.1 | 5.3 | |
8 days ago | 9 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-sentry
We haven't tracked posts mentioning slog-sentry yet.
Tracking mentions began in Dec 2020.
slogmw
- Go structured logging log/slog middleware
-
Slogtest
The new structured logging library is a great addition, its nice to have structured logging in the standard lib.
It's easy to get started with log/slog and one of the built in handlers, but as soon as you want to change something the library design pushes you towards implementing an entire handler.
For example, if I was the built in JSON format, but with a different formatting of the Time field, that's not easy to do. It's not obvious how to change the built in handler.
I wrote slogmw[1] to solve this problem. It's a set of middleware and examples that make it easy to make small changes to the built in handlers without having to write a whole new handler from scratch.
[1] https://github.com/zknill/slogmw
- Middelware to make Go 1.21's new structured logger easier
What are some alternatives?
slog-datadog - 🚨 slog: Datadog handler
slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
slog-formatter - 🚨 slog: Attribute formatting
tint - 🌈 slog.Handler that writes tinted (colorized) logs
slog - Minimal structured logging library for Go
slog-gin - 🚨 Gin middleware for slog logger
zerolog - Zero Allocation JSON Logger
tracerr - Golang errors with stack trace and source fragments.
phuslu/log - Fastest structured logging