awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Go 结构化日志库

排名更新于 2026年6月30日

For Go 语言结构化日志库, the strongest matches are rs/zerolog (Zerolog is a fast, zero-allocation structured logging library for), charmbracelet/log (charmbracelet/log is a Go structured logging library that outputs) and uber-go/zap (Zap is a production-grade structured logging library for Go). sirupsen/logrus and inconshreveable/log15 round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Go 语言高性能日志框架,支持输出 JSON 等机器可读格式,便于集中式日志分析。

Go 结构化日志库

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • rs/zerologrs 的头像

    rs/zerolog

    12,220在 GitHub 上查看↗

    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

    Zerolog is a fast, zero-allocation structured logging library for Go that produces JSON output, supports leveled logging, context fields, and flexible output routing — exactly what this search is after.

    GoHigh-Performance LoggingMulti-Writer MultiplexersContextual Logging
    在 GitHub 上查看↗12,220
  • charmbracelet/logcharmbracelet 的头像

    charmbracelet/log

    3,121在 GitHub 上查看↗

    This is a structured logging library designed to produce logs using key-value pairs, severity levels, and machine-readable formats. It provides a toolkit for creating logs that are consistent for both human review and machine parsing. The project is distinguished by its focus on terminal visualization, using a styling system to apply colors and prefixes to log entries for improved readability in consoles. It also includes a specialized adapter to convert standard library log calls into structured events by inferring severity levels from message prefixes. The library manages metadata through

    charmbracelet/log is a Go structured logging library that outputs JSON with severity levels and key-value context fields, includes a standard library adapter, and supports filtering and formatting, making it a strong fit for producing structured, leveled log entries.

    GoStructured Log Field AttachmentsContextual Logging
    在 GitHub 上查看↗3,121
  • uber-go/zapuber-go 的头像

    uber-go/zap

    24,329在 GitHub 上查看↗

    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

    Zap is a production-grade structured logging library for Go that provides leveled logging, JSON output, typed context fields, hooks/middleware support, and multiple output targets, all with high performance and zero-allocation design — exactly the structured logging library this search targets.

    GoHigh-Performance Logging
    在 GitHub 上查看↗24,329
  • sirupsen/logrussirupsen 的头像

    sirupsen/logrus

    25,736在 GitHub 上查看↗

    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

    Logrus is a structured logging library for Go that provides leveled logging, JSON output, context fields via a contextual logger, and a pluggable hook system for multiple output targets, making it a comprehensive fit for your requirements.

    GoLog Severity Categorization
    在 GitHub 上查看↗25,736
  • inconshreveable/log15inconshreveable 的头像

    inconshreveable/log15

    1,103在 GitHub 上查看↗

    Structured, composable logging for Go

    log15 is a structured, leveled logging library for Go that outputs JSON with rich context fields and offers composable handlers for multiple targets, closely matching the request for a high-performance, standard-library-compatible library.

    GoLoggingLogging Libraries
    在 GitHub 上查看↗1,103
  • apex/logapex 的头像

    apex/log

    1,377在 GitHub 上查看↗

    apex/log is a Go logging library offering leveled logging and structured JSON output, making it a solid fit for producing structured log entries with context fields as requested.

    GoLoggingLogging Libraries
    在 GitHub 上查看↗1,377
  • phuslu/logphuslu 的头像

    phuslu/log

    860在 GitHub 上查看↗

    Fastest structured logging

    phuslu/log is a Go structured logging library focused on high performance and JSON output, making it a solid fit for producing leveled, structured log entries in Go.

    GoLoggingLogging Libraries
    在 GitHub 上查看↗860

Related searches

  • a logging library for Rust applications
  • a lightweight logging library for C++
  • a php library for application logging
  • a logging library for C# applications
  • a python library for application logging
  • a logging library for Ruby applications
  • a high performance JSON library for Go
  • a lightweight logging library for JavaScript applications