The Best Go Libraries For Logging (39)
Discover the best Go libraries for Logging! Find the perfect tools to streamline your development and boost productivity. From logdump to lumberjack, we've got you covered. Let the coding begin!
logdump
Package for multi-level logging.
lumberjack
Simple rolling logger, implements io.WriteCloser.
structy/log
A simple to use log system, minimalist but with features for debugging and differentiation of messages.
distillog
distilled levelled logging (think of it as stdlib + log levels).
glg
glg is simple and fast leveled logging library for Go.
glo
PHP Monolog inspired logging facility with identical severity levels.
glog
Leveled execution logs for Go.
go-cronowriter
Simple writer that rotate log files automatically based on current date and time, like cronolog.
go-log
A logging library with stack traces, object dumping and optional timestamps.
go-log
Simple and configurable Logging in Go, with level, formatters and writers.
go-log
Log lib supports level and multi handlers.
go-log
Log4j implementation in Go.
go-logger
Simple logger of Go Programs, with level handlers.
gomol
Multiple-output, structured logging for Go with extensible logging outputs.
kemba
A tiny debug logging tool inspired by [debug](https://github.com/visionmedia/debug), great for CLI tools and applications.
log
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
log
Structured logging package for Go.
log
Simple leveled logging wrapper around standard log package.
mlog
Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
phuslu/log
High performance structured logging.
pp
Colored pretty printer for Go language.
rollingwriter
RollingWriter is an auto-rotate `io.Writer` implementation with multi policies to provide log file rotation.
seelog
Logging functionality with flexible dispatching, filtering, and formatting.
slf4g
Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks.
slog
Lightweight, configurable, extensible logger for Go.
slog-formatter
Common formatters for slog and helpers to build your own.
slog-multi
Chain of slog.Handler (pipeline, fanout...).
spew
Implements a deep pretty printer for Go data structures to aid in debugging.
sqldb-logger
A logger for Go SQL database driver without modify existing \*sql.DB stdlib usage.
stdlog
Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
tail
Go package striving to emulate the features of the BSD tail program.
tint
A slog.Handler that writes tinted logs.
xylog
Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax.
yell
Yet another minimalistic logging library.
zap
Fast, structured, leveled logging in Go.
zax
Integrate Context with Zap logger, which leads to more flexibility in Go logging.
zerolog
Zero-allocation JSON logger.
zkits-logger
A powerful zero-dependency JSON logger.
zl
High Developer Experience, zap based logger. It offers rich functionality but is easy to configure.