30 open-source projects similar to golang/glog, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Glog alternative.
Zerolog is a structured logging library for Go designed for high-performance event capture and observability. It focuses on generating machine-readable JSON output while minimizing memory overhead through zero-allocation buffer encoding and strongly-typed field validation. The library distinguishes itself by providing a chainable, context-aware interface that allows developers to bind trace identifiers and metadata directly to request lifecycles. It supports complex diagnostic workflows by enabling independent logger instances, custom output routing to multiple concurrent destinations, and ev
Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON formatting. It serves as a pluggable logging framework providing a thread-safe event logger with configurable mutex locking to manage concurrent writes across multiple goroutines. The project distinguishes itself through a pluggable hook system that routes log entries to external services or custom destinations. It also features a contextual logger capable of attaching persistent metadata and request-scoped fields to entries to improve traceability. The framework covers broad ob
Zap is a high-performance structured logging library designed for production environments. It provides a framework for generating machine-readable logs that minimize memory overhead and CPU usage, allowing for efficient event analysis and system monitoring. The library distinguishes itself through a focus on zero-allocation logging, utilizing buffer pooling to reduce garbage collection pressure during high-frequency operations. It enforces strict data typing through compile-time checks and structured field encoding, which ensures consistent output without the performance cost of reflection-ba
Lumberjack is a log rolling library for Go that manages the lifecycle of log files through size-based rotation and backup cleanup. It functions as a log retention manager to prevent disk exhaustion in Go services. The project optimizes log storage by compressing rotated files using the gzip algorithm and generating unique filenames via timestamped backups. It implements a retention policy that prunes historical records based on a maximum number of backups or a specified file age. The library implements the standard Go writer interface to integrate with logging libraries, providing a mechanis
Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
Go package for reading from continously updated files (tail -f)
📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能
go-spew is a deep inspection library and debugging utility for Go. It functions as a data structure pretty printer that renders complex, nested types into human-readable strings with indentation and type information. The library provides specialized capabilities for visualizing internal program states, including the ability to dump data structures with pointer addresses and map keys. It includes a configuration system to adjust printing behavior, such as limiting recursion depth and setting indentation. The tool uses reflection-based type inspection and recursive tree traversal to handle nes
Dead simple, super fast, zero allocation logger for Golang
:green_book: Simple, configurable and scalable Structured Logging for Go.
Package httpretty prints the HTTP requests you make with Go pretty on your terminal.
Rolling writer is an IO util for auto rolling write in go.
io.Writer implementation using logrus logger managed by soy-programador
Simple logger for Go programs. Allows custom formats for messages.
A tiny debug logging tool. Ideal for CLI tools and command applications. Inspired by https://github.com/visionmedia/debug
Timberjack is a Go log rolling library with support for size-based, time-based, and manual rotation.
Tamper-evident audit log for Go: an append-only, hash-chained, optionally Ed25519-signed log/slog handler, with offline logx verify. Built on the standard library, zero third-party dependencies. Also a full slog toolkit (colored output, JSON, rotation, fan-out, CLI).
The official Go SDK for Sentry (sentry.io)
A Go (golang) package providing high-performance asynchronous logging, message filtering by severity and category, and multiple message targets.
🍜 Parametrized JSON logging library in Golang which lets you obfuscate sensitive data and marshal any kind of content.
Simple leveled logging wrapper around standard log package