Cute Gopher Mascot

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.

See More! 🚀

lumberjack

Simple rolling logger, implements io.WriteCloser.

See More! 🚀

structy/log

A simple to use log system, minimalist but with features for debugging and differentiation of messages.

See More! 🚀

distillog

distilled levelled logging (think of it as stdlib + log levels).

See More! 🚀

glg

glg is simple and fast leveled logging library for Go.

See More! 🚀

glo

PHP Monolog inspired logging facility with identical severity levels.

See More! 🚀

glog

Leveled execution logs for Go.

See More! 🚀

go-cronowriter

Simple writer that rotate log files automatically based on current date and time, like cronolog.

See More! 🚀

go-log

A logging library with stack traces, object dumping and optional timestamps.

See More! 🚀

go-log

Simple and configurable Logging in Go, with level, formatters and writers.

See More! 🚀

go-log

Log lib supports level and multi handlers.

See More! 🚀

go-log

Log4j implementation in Go.

See More! 🚀

go-logger

Simple logger of Go Programs, with level handlers.

See More! 🚀

gomol

Multiple-output, structured logging for Go with extensible logging outputs.

See More! 🚀

kemba

A tiny debug logging tool inspired by [debug](https://github.com/visionmedia/debug), great for CLI tools and applications.

See More! 🚀

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).

See More! 🚀

log

Structured logging package for Go.

See More! 🚀

log

Simple leveled logging wrapper around standard log package.

See More! 🚀

mlog

Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.

See More! 🚀

phuslu/log

High performance structured logging.

See More! 🚀

pp

Colored pretty printer for Go language.

See More! 🚀

rollingwriter

RollingWriter is an auto-rotate `io.Writer` implementation with multi policies to provide log file rotation.

See More! 🚀

seelog

Logging functionality with flexible dispatching, filtering, and formatting.

See More! 🚀

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.

See More! 🚀

slog

Lightweight, configurable, extensible logger for Go.

See More! 🚀

slog-formatter

Common formatters for slog and helpers to build your own.

See More! 🚀

slog-multi

Chain of slog.Handler (pipeline, fanout...).

See More! 🚀

spew

Implements a deep pretty printer for Go data structures to aid in debugging.

See More! 🚀

sqldb-logger

A logger for Go SQL database driver without modify existing \*sql.DB stdlib usage.

See More! 🚀

stdlog

Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.

See More! 🚀

tail

Go package striving to emulate the features of the BSD tail program.

See More! 🚀

tint

A slog.Handler that writes tinted logs.

See More! 🚀

xylog

Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax.

See More! 🚀

yell

Yet another minimalistic logging library.

See More! 🚀

zap

Fast, structured, leveled logging in Go.

See More! 🚀

zax

Integrate Context with Zap logger, which leads to more flexibility in Go logging.

See More! 🚀

zerolog

Zero-allocation JSON logger.

See More! 🚀

zkits-logger

A powerful zero-dependency JSON logger.

See More! 🚀

zl

High Developer Experience, zap based logger. It offers rich functionality but is easy to configure.

See More! 🚀