Slog: Zero-dependency structured logging in Go

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • example

    Go example projects

    A guide covering how to write custom handlers is out of scope for this post, but you can find one such guide written by the author of slog here. Thankfully, you don’t need to write a handler from scratch to use one. There are several community-contributed handlers, including handlers that allow you to output colored logs, and a handler that lets you implement sampling. You can find a full list here.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • tint

    🌈 slog.Handler that writes tinted (colorized) logs

    A guide covering how to write custom handlers is out of scope for this post, but you can find one such guide written by the author of slog here. Thankfully, you don’t need to write a handler from scratch to use one. There are several community-contributed handlers, including handlers that allow you to output colored logs, and a handler that lets you implement sampling. You can find a full list here.

  • slog-sampling

    🚨 slog sampling: drop repetitive log records

    A guide covering how to write custom handlers is out of scope for this post, but you can find one such guide written by the author of slog here. Thankfully, you don’t need to write a handler from scratch to use one. There are several community-contributed handlers, including handlers that allow you to output colored logs, and a handler that lets you implement sampling. You can find a full list here.

  • go

    The Go programming language

    A guide covering how to write custom handlers is out of scope for this post, but you can find one such guide written by the author of slog here. Thankfully, you don’t need to write a handler from scratch to use one. There are several community-contributed handlers, including handlers that allow you to output colored logs, and a handler that lets you implement sampling. You can find a full list here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Reducing Go Execution Tracer Overhead with Frame Pointer Unwinding

    2 projects | news.ycombinator.com | 31 Jan 2023
  • proposal: log/slog: structured, leveled logging · Issue #56345 · golang/go

    2 projects | /r/golang | 24 Oct 2022
  • Go Range Iterators Demystified

    1 project | news.ycombinator.com | 14 Jul 2024
  • The first 10k games at bgammon.org, an open source online backgammon service

    3 projects | news.ycombinator.com | 2 Jul 2024
  • Russ Cox is writing an LLM based bot to help in the Go Issue Tracker

    1 project | news.ycombinator.com | 27 Jun 2024

Did you konow that Go is
the 4th most popular programming language
based on number of metions?