Logging
74 libraries in this category
Structured logger for Go
Fast, structured, leveled logging in Go
Zero-allocation JSON logger
Implements a deep pretty printer for Go data structures to aid in debugging
Simple rolling logger, implements io.WriteCloser
Leveled execution logs for Go
Go package striving to emulate the features of the BSD tail program
Colored pretty printer for Go language
Logging functionality with flexible dispatching, filtering, and formatting
A TUI for reading and filtering logs from journalctl, file system, Docker and Podman containers, as well Kubernetes pods
Structured logging package for Go
A slog.Handler that writes tinted logs
Sentry SDK for Go. Helps monitor and track errors with real-time alerts and performance monitoring
Simple, powerful logging for Go
High performance structured logging
Chain of slog.Handler (pipeline, fanout...)
Lightweight, configurable, extensible logger for Go
Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest)
Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenarios. Also, it is one of the logger with the lowest allocation
A logger for Go SQL database driver without modify existing \*sql.DB stdlib usage
Utilities for slightly better logging in Go (Golang) extending the standard logger
12-factor app logger that is fast and makes you happy
Simple, configurable and scalable Structured Logging for Go
RollingWriter is an auto-rotate `io.Writer` implementation with multi policies to provide log file rotation
Simple logger of Go Programs, with level handlers
Common formatters for slog and helpers to build your own
glg is simple and fast leveled logging library for Go
Rolling logger with size-based, time-based, and scheduled clock-based rotation, supporting compression and cleanup
Minimalistic logging library for Go
Structured logger for `net/context` aware HTTP handlers with flexible dispatching
High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail)
A slog handler for Grafana Loki
A slog handler for Zerolog
Colorful CLI logger
Simple writer that rotate log files automatically based on current date and time, like cronolog
A slog handler for Zap
A slog handler for Sentry
Fast, extendable, full-featured, std-lib source compatible log library
Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs
Go implementation of systemd Journal's native API for logging
Parametrized JSON logging library which lets you obfuscate sensitive data and marshal any kind of content. No more printed pointers instead of values, nor escape chars for the JSON strings
Log4j implementation in Go
Golang log lib, supports tracking and level, wrap by standard log lib
Log lib supports level and multi handlers
Integrate Context with Zap logger, which leads to more flexibility in Go logging
Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output
A slog handler for Logrus
distilled levelled logging (think of it as stdlib + log levels)
[logrus](https://github.com/sirupsen/logrus) plug-in to send errors to a [Loggly](https://www.loggly.com/)
A powerful zero-dependency JSON logger
Structured log interface for Go cleanly separates logging facade from its implementation
A slog handler for Slack
Multiple-output, structured logging for Go with extensible logging outputs.
A tiny debug logging tool inspired by [debug](https://github.com/visionmedia/debug), great for CLI tools and applications
Simple leveled logging wrapper around standard log package
Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax
PHP Monolog inspired logging facility with identical severity levels
A slog handler for Datadog
`io.Writer` implementation using [logrus](https://github.com/sirupsen/logrus) logger
Simple and configurable Logging in Go, with level, formatters and writers
Golang logger to different configurable writers
A logging library with stack traces, object dumping and optional timestamps
High Developer Experience, zap based logger. It offers rich functionality but is easy to configure
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection)
Package for multi-level logging
Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format
Append-only, hash-chained, optionally Ed25519-signed slog handler with offline verification of tampering
Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks
A simple to use log system, minimalist but with features for debugging and differentiation of messages
A simple logging framework out of the box
Google Cloud Logging handler for log/slog, with OpenTelemetry trace and baggage, and Kubernetes podinfo labels
Yet another minimalistic logging library
Log4g provides Log4j-style configuration and pattern layouts for Go's standard log/slog logging facade
Configures the standard library log/slog logger from environment variables: level, format, source location, and stdout/stderr split