Logger Dependency Injection

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

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

    Go Utilities

  • For reference, here's my implementation. Note that my wrapper supports both structured and traditional logging APIs.

  • SLF4J

    Simple Logging Facade for Java

  • I think the Go designers were seeing the mess in other platforms (e.g. Java's SLF4J) and just decided not to play that game from the start. I'm sure it was intentional that Go logging is not a pluggable API. I like that Go is opinionated, but there are some opinions I disagree with. This particular opinion was defeatist and guaranteed a mess rather than make even a small effort to make life easier for some if not all. END RANT.

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