Categories

Logging

Libraries for generating and working with log files.

Repos

131

Stars

118,620

30 days

+234

phuslu

Fastest structured logging

Created Jul 2019

golang json log logger logging
Total 881
30 days +4
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
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
kpango

Simple and blazing fast lockfree logging library for golang

Created Jun 2017

fast glg golang kpango log
Total 191
30 days +0
samber

🚨 slog: Loki handler

Created Apr 2023

attribute error errors go golang
Total 82
30 days +0
samber

🚨 slog: Zerolog handler

Created Sep 2023

adapter attribute error go golang
Total 77
30 days +0
utahta

Time based rotating file writer

Created Feb 2017

cronolog go golang log rotate
Total 55
30 days +0
samber

🚨 slog: Zap handler

Created Sep 2023

adapter attribute error go golang
Total 54
30 days +0
samber

🚨 slog: Sentry handler

Created Apr 2023

attribute error errors go golang
Total 54
30 days +0

More

donnie4w

High-performance Go logging library, with concurrency performance 10 times or more faster than the official library. Go高性能日志库,适用于高并发场景,并发性能是官方库10倍或以上

Created Feb 2014

go-logger golang-logger high-performance log log-tracing
Total 364
30 days +1
kataras

A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.

Created Jul 2017

easy-to-use go golang high-performance iris
Total 339
30 days +0
samber

🚨 Gin middleware for slog logger

Created Apr 2023

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

一个简单而强大的 golang 日志工具包,支持同步和异步输出到 命令行,文件, api 接口,文件支持按文件大小,文件行数,日期切分;A simple and powerful golang logging toolkit that supports synchronous and asynchronous output to the console, file, API interfaces, file support by file size, file line number, date sharding.

Created Sep 2017

console console-color console-log file filelogger
Total 184
30 days +0
philchia

gol is a high performance async log kit for golang

Created Dec 2016

async elasticsearch go gol golang
Total 175
30 days +0
zerodha

Extremely fast, light weight, zero alloc logfmt logging library for Go.

Created Jun 2022

golang-logger golang-logging log logfmt logger
Total 106
30 days +3
samber

🚨 Chi middleware for slog logger

Created Oct 2023

attribute chi error errors go
Total 100
30 days +1
samber

🚨 Fiber middleware for slog logger

Created Apr 2023

attribute errors fiber go gofiber
Total 98
30 days +0
auula

Golang logging library supporting log retrieval.

Created Apr 2020

color file golang golang-library golang-package
Total 81
30 days +0
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
30 days +0
gxlog

A concise, functional, flexible and extensible logger for go.

Created Sep 2018

go golang log logger logging
Total 61
30 days +0
xiaomeng79

go封装的日志 logrus zap,并且增加了opentracing分布式日志追踪,日志格式化成json,日志大小切割

Created Jul 2018

distributed-log-tracking go golang log logrus
Total 61
30 days +0
axiaoxin-com

mod: zap logging in golang

Created Mar 2020

gin gin-middleware gorm-logger log sentry
Total 58
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.