196 results for “topic:slog”
🌈 slog.Handler that writes tinted (colorized) logs
🔥 Error handling library with context, assertion, stack trace and source fragments
Fastest structured logging
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能
Minimal structured logging library for Go
🪵 Ensure consistent code style when using log/slog
🚨 slog: Attribute formatting
🚨 Gin middleware for slog logger
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.
Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.
🚨 Echo middleware for slog logger
🚨 slog sampling: drop repetitive log records
🚨 net/http middleware for slog logger
🚨 Fiber middleware for slog logger
🚨 Chi middleware for slog logger
Bridge between Go testing.T and slog.
🚨 slog: Loki handler
🚨 slog: Zerolog handler
A production-ready template for modern web applications using The Modern Go Stack - a cohesive technology stack for building high-performance, maintainable applications. Creates single, self-contained binaries with zero external dependencies.
A slog adapter, highly configurable, for gorm logger
A handler for slog that prints colorized logs, similar to zerolog's console writer output without sacrificing performances
🚨 slog: Sentry handler
🚨 slog: Zap handler
Example Cloud Run Go app with lightweight structured logging using `slog`
使用 Go 编写的高性能可扩展的日志库 - A high-performance and extensible logging foundation for Go applications
A Rust library which provides frequently used slog loggers and convenient functions
🚨 slog: Logrus handler
Simple slog wrapper for easy life, with opentelemetry tracing support
Color handler for log/slog