What is the common log library which is industry standard that is used in server applications?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • go

    The Go programming language

    There are many popular log libraries, but no standard. The next release of Go (1.21) will add the new log/slog package to the standard library: https://github.com/golang/go/issues/56345

  • logrus

    Structured, pluggable logging for Go.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • zap

    Blazing fast, structured, leveled logging in Go.

  • logr

    A simple logging interface for Go

  • zerolog

    Zero Allocation JSON Logger

    I use zerolog myself and have seen it being used in production several times. Also they have a list of who uses zerolog

  • 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.

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