slog
There are 147 repositories under slog topic.
lmittmann/tint
🌈 slog.Handler that writes tinted (colorized) logs
phuslu/log
Fastest structured logging
samber/oops
🔥 Error handling library with context, assertion, stack trace and source fragments
samber/slog-multi
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
gookit/slog
📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能
coder/slog
Minimal structured logging library for Go
go-simpler/sloglint
🪵 Ensure consistent code style when using log/slog
samber/slog-formatter
🚨 slog: Attribute formatting
samber/slog-gin
🚨 Gin middleware for slog logger
veqryn/slog-context
Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically read any custom context values, such as OpenTelemetry TraceID.
remychantenay/slog-otel
Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.
samber/slog-echo
🚨 Echo middleware for slog logger
samber/slog-sampling
🚨 slog sampling: drop repetitive log records
samber/slog-fiber
🚨 Fiber middleware for slog logger
samber/slog-http
🚨 net/http middleware for slog logger
samber/slog-chi
🚨 Chi middleware for slog logger
neilotoole/slogt
Bridge between Go testing.T and slog.
samber/slog-loki
🚨 slog: Loki handler
orandin/slog-gorm
A slog adapter, highly configurable, for gorm logger
samber/slog-zerolog
🚨 slog: Zerolog handler
samber/slog-sentry
🚨 slog: Sentry handler
phsym/console-slog
A handler for slog that prints colorized logs, similar to zerolog's console writer output without sacrificing performances
samber/slog-zap
🚨 slog: Zap handler
FishGoddess/logit
使用 Go 编写的高性能可扩展的日志库 - A high-performance and extensible logging foundation for Go applications
remko/cloudrun-slog
Example Cloud Run Go app with lightweight structured logging using `slog`
sile/sloggers
A Rust library which provides frequently used slog loggers and convenient functions
samber/slog-logrus
🚨 slog: Logrus handler
ttys3/slogx
Simple slog wrapper for easy life, with opentelemetry tracing support
michurin/human-readable-json-logging
The tool to pretty print JSON log stream right from running process in human readable format
PumpkinSeed/slog-context
slog: Context handler
go-simpler/sloggen
🪵 Generate domain-specific wrappers for log/slog
go-slog/otelslog
Handler attaching OpenTelemetry trace and resource details to logs
samber/slog-slack
🚨 slog: Slack handler
veqryn/slog-dedup
Golang structured logging (slog) deduplication and sorting for use with json logging
MatusOllah/slogcolor
Color handler for log/slog
cappuccinotm/slogx
slog logger extensions