Go logging-library

Open-source Go projects categorized as logging-library

Top 11 Go logging-library Projects

logging-library
  1. Logdy.dev

    Web based real-time log viewer. Stream ANY content to a web UI with autogenerated filters. Parse any format with TypeScript.

    Project mention: Show HN: A Better Log Service | news.ycombinator.com | 2025-01-11

    Congrats on the launch! I'm an author of https://logdy.dev seems like we had a similar problem with logs and decided to solve it but in a slightly different way.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. slog

    📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能 (by gookit)

    Project mention: Launch HN: Patchwork (YC W24) – Automatically add structured logs to your code | news.ycombinator.com | 2024-08-29

    > Refactoring the logs in existing code bases today is a manual slog.

    slog is shorthand for structured logs[1][2][3][4]. So refactoring the logs [without a tool] is manually converting them to a slog. You have a great pun on your hands.

    > Speaking from experience?

    I have a notebook laying around with a loose plan on how to get the most compression possible out of a log file. It would use ML to figure out what the log strings would be - but I think your idea of scanning the executable is even more clever. Anyway, once it knows the log strings you can probably stuff it into off the shelf column storage for great compression rates. And if the compression rates are good enough then searches should be much much faster as well.

    Who do you reckon are the more important existing competitors? Grafana labs or Sonarqube?

    [1] https://github.com/slog-rs/slog

    [2] https://github.com/gookit/slog

    [3] https://github.com/kala13x/slog

    [4] https://pkg.go.dev/log/slog

  4. logf

    Extremely fast, light weight, zero alloc logfmt logging library for Go.

  5. noodlog

    🍜 Parametrized JSON logging library in Golang which lets you obfuscate sensitive data and marshal any kind of content.

  6. xylog

    Python-like logging design in Golang

  7. log

    Simple leveled logging wrapper around standard log package (by heartwilltell)

  8. logger

    A collection of Hertz logger extension (by hertz-contrib)

  9. logmatic

    Colorized logger for Golang with dynamic log level configuration

  10. go-logstash

    go-logstash is a Golang package for pushing logging events to Logstash through TCP and UDP protocols. This package provides an easy-to-use interface to integrate your Go application with Logstash, allowing you to centralize and analyze your logs.

  11. zaphandler

    zaphandler will help to create slog handler using zap logger

  12. gcl

    A dead-simple go colorful logging library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go logging-library discussion

Log in or Post with

Go logging-library related posts

Index

What are some of the best open-source logging-library projects in Go? This list will help you:

# Project Stars
1 Logdy.dev 1,388
2 slog 416
3 logf 93
4 noodlog 44
5 xylog 17
6 log 16
7 logger 16
8 logmatic 16
9 go-logstash 14
10 zaphandler 8
11 gcl 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com