slog-formatter
π¨ slog: Attribute formatting (by samber)
slog-sampling
π¨ slog sampling: drop repetitive log records (by samber)
slog-formatter | slog-sampling | |
---|---|---|
1 | 1 | |
85 | 37 | |
- | - | |
6.0 | 6.9 | |
19 days ago | 18 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.
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.
slog-sampling
Posts with mentions or reviews of slog-sampling.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-04.
-
Slog: Zero-dependency structured logging in Go
A guide covering how to write custom handlers is out of scope for this post, but you can find one such guide written by the author of slog here. Thankfully, you donβt need to write a handler from scratch to use one. There are several community-contributed handlers, including handlers that allow you to output colored logs, and a handler that lets you implement sampling. You can find a full list here.
What are some alternatives?
When comparing slog-formatter and slog-sampling you can also consider the following projects:
slog-gin - π¨ Gin middleware for slog logger
tint - π slog.Handler that writes tinted (colorized) logs
slog-multi - π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
g8 - β©οΈ Go library for protecting your HTTP handlers
slog-sentry - π¨ slog: Sentry handler
ctxkey - A library to manage context keys. Additionally implements conenience functions to log the keys with slog.
go - The Go programming language
tracerr - Golang errors with stack trace and source fragments.
example - Go example projects
awesome-go-code-formatters - A curated list of Go code formatters (like gofmt)
slog-formatter vs slog-gin
slog-sampling vs tint
slog-formatter vs slog-multi
slog-sampling vs g8
slog-formatter vs slog-sentry
slog-sampling vs slog-sentry
slog-formatter vs ctxkey
slog-sampling vs go
slog-formatter vs tracerr
slog-sampling vs example
slog-formatter vs awesome-go-code-formatters
slog-sampling vs slog-gin