Categories

Logging

Libraries for generating and working with log files.

Repos

131

Stars

118,620

30 days

+234

sirupsen

Structured, pluggable logging for Go.

Created Oct 2013

go logging logrus
Total 25,802
30 days +33
uber-go

Blazing fast, structured, leveled logging in Go.

Created Feb 2016

golang logging structured-logging zap
Total 24,722
30 days +58
rs

Zero Allocation JSON Logger

Created May 2017

golang json logging structured-logging zerolog
Total 12,546
30 days +25
Lifailon

TUI for viewing logs from journald, auditd, file system, Docker and Podman containers, Compose stacks and Kubernetes pods with support for log highlighting and several filtering modes.

Created Nov 2024

auditd docker-logs go gocui highlighting
Total 1,455
30 days +31
lmittmann

🌈 slog.Handler that writes tinted (colorized) logs

Created Mar 2023

ansi color golang logging slog
Total 1,372
30 days +9
apex
apex / log

Structured logging package for Go.

Created Dec 2015

apex-logs golang logger logging
Total 1,371
30 days +1
phuslu

Fastest structured logging

Created Jul 2019

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

Dead simple, super fast, zero allocation logger for Golang

Created May 2018

allocation fast golang logger logging
Total 412
30 days +0
go-playground

📗 Simple, configurable and scalable Structured Logging for Go.

Created Feb 2016

errors logging stack-traces
Total 293
30 days +0
samber

🚨 slog: Attribute formatting

Created Apr 2023

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

Timberjack is a Go log rolling library with support for size-based, time-based, and manual rotation.

Created Apr 2025

log-management log-rolling log-rotation logging rotation
Total 171
30 days +5

More

charmbracelet

A minimal, colorful Go logging library 🪵

Created Dec 2022

golang logging
Total 3,430
30 days +24
go-logr

A simple logging interface for Go

Created Jan 2017

logger logging
Total 1,408
30 days +1
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
ScottMansfield

Nanosecond scale logger inspired by https://github.com/PlatformLab/NanoLog

Created Mar 2017

go golang logging performance
Total 227
30 days +0
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
30 days +0
samber

🚨 Gin middleware for slog logger

Created Apr 2023

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

Package clog is a channel-based logging package for Go

Created Feb 2017

console discord file go logging
Total 170
30 days +0
sohlich

Logrus Hook for ElasticSearch

Created Jan 2016

elasticsearch golang logging logrus
Total 160
30 days +0
samber

🚨 slog sampling: drop repetitive log records

Created May 2023

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

Hooks for logrus logging

Created Nov 2016

echo gin gin-gonic gin-middleware golang
Total 119
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
appliedgocode

Debug-level logging for developers (only!)

Created Apr 2020

debugging logging
Total 99
30 days +0
willibrandon

Serilog-inspired structured logging for Go with message templates, rich formatting, and native Seq support

Created Jul 2025

elasticsearch go logging message-templates seq
Total 98
30 days +0
ichtrojan

HTTP request logger for Golang

Created Feb 2021

go golang logging
Total 87
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
go-log

A universal log interface

Created May 2017

golang logging
Total 77
30 days +0
kscarlett

A tiny Go utility to generate a large amount realistic-looking Nginx logs quickly.

Created Jan 2020

log-generator logging nginx nginx-logs
Total 71
30 days +0
go-pkgz

Basic logger with some extras

Created Jan 2019

go golang logger logging
Total 67
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
google

Deck provides a flexible logging framework for Go apps.

Created Oct 2022

logging
Total 59
30 days +0
apex

Apex Logs client for Go.

Created Jul 2019

apex-logs golang javascript logging logs
Total 59
30 days +0
glassonion1

The logz is Go library for grouping a access log and application logs

Created Dec 2020

go golang grpc http logger
Total 56
30 days +0
logur

Logur is an opinionated collection of logging best practices

Created Dec 2018 Archived

go-logging logging logur
Total 202
30 days +0
rdeusser

A simple, concise, colorful logger for Go

Created Apr 2015 Archived

go library logger logging
Total 91
30 days +0
gleich

Easy to use & pretty logger for golang

Created Jan 2021 Archived

go golang gomodule logging modules
Total 51
30 days +0

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