GitHub topics

slog

Mostly in Logging 73%

Repositories

23

Total stars

6,871

Trending

lmittmann

🌈 slog.Handler that writes tinted (colorized) logs

Created Mar 2023

ansi color golang logging slog
Total 1,372
30 days +9
samber

🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

Created Apr 2023

attribute error errors go golang
Total 646
30 days +8
samber

🔥 Error handling library with context, assertion, stack trace and source fragments

Created May 2023

assert assertion attributes context error
Total 998
30 days +6
phuslu

Fastest structured logging

Created Jul 2019

golang json log logger logging
Total 882
30 days +5
gookit

📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能

Created Jul 2020

console-logger file-logging formatter go-logger log
Total 558
30 days +3
samber

🚨 Gin middleware for slog logger

Created Apr 2023

error formatter gin gin-gonic go
Total 192
30 days +2
samber

🚨 slog: Attribute formatting

Created Apr 2023

anonymization error formatter formatting go
Total 228
30 days +2
samber

🚨 Chi middleware for slog logger

Created Oct 2023

attribute chi error errors go
Total 100
30 days +1
go-simpler

🪵 Ensure consistent code style when using log/slog

Created Sep 2023

go linter logging slog static-analysis
Total 275
30 days +1
samber

🚨 slog sampling: drop repetitive log records

Created May 2023

go golang handler log-level logger
Total 120
30 days +1

Top

lmittmann

🌈 slog.Handler that writes tinted (colorized) logs

Created Mar 2023

ansi color golang logging slog
Total 1,372
samber

🔥 Error handling library with context, assertion, stack trace and source fragments

Created May 2023

assert assertion attributes context error
Total 998
phuslu

Fastest structured logging

Created Jul 2019

golang json log logger logging
Total 882
samber

🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

Created Apr 2023

attribute error errors go golang
Total 646
gookit

📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能

Created Jul 2020

console-logger file-logging formatter go-logger log
Total 558
coder

Minimal structured logging library for Go

Created Sep 2019

go slog structured-logging
Total 351
go-simpler

🪵 Ensure consistent code style when using log/slog

Created Sep 2023

go linter logging slog static-analysis
Total 275
samber

🚨 slog: Attribute formatting

Created Apr 2023

anonymization error formatter formatting go
Total 228
veqryn

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.

Created Nov 2023

context golang golang-library logging opentelemetry
Total 196
samber

🚨 Gin middleware for slog logger

Created Apr 2023

error formatter gin gin-gonic go
Total 192
samber

🚨 Echo middleware for slog logger

Created Apr 2023

attribute echo echo-framework error errors
Total 142
remychantenay

Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.

Created Sep 2023

golang logging open-telemetry otel slog
Total 139
samber

🚨 slog sampling: drop repetitive log records

Created May 2023

go golang handler log-level logger
Total 120
samber

🚨 net/http middleware for slog logger

Created Mar 2024

attribute error go golang handler
Total 101
samber

🚨 Chi middleware for slog logger

Created Oct 2023

attribute chi error errors go
Total 100
samber

🚨 Fiber middleware for slog logger

Created Apr 2023

attribute errors fiber go gofiber
Total 98
neilotoole

Bridge between Go testing.T and slog.

Created Apr 2023

adapter bridge go golang handler
Total 83
samber

🚨 slog: Loki handler

Created Apr 2023

attribute error errors go golang
Total 82
samber

🚨 slog: Zerolog handler

Created Sep 2023

adapter attribute error go golang
Total 77
phsym

A handler for slog that prints colorized logs, similar to zerolog's console writer output without sacrificing performances

Created Aug 2023

console go golang log logger
Total 62
orandin

A slog adapter, highly configurable, for gorm logger

Created Aug 2023

gorm-logger slog
Total 61
samber

🚨 slog: Zap handler

Created Sep 2023

adapter attribute error go golang
Total 54
samber

🚨 slog: Sentry handler

Created Apr 2023

attribute error errors go golang
Total 54

Related

All topics →