15 best Go Logging libraries in 2024

share link

by marketing.admin@openweaver.com dot icon Updated: Feb 8, 2023

technology logo
technology logo

Guide Kit Guide Kit  

Go programming language is a modern, general-purpose language that can be used to build a wide range of applications. It has been around since 2009 and is actively developed by Google. Go has become increasingly popular over the last few years because of its excellent performance and flexibility. It is an expressive language with C-like syntax that compiles down to machine code and runs very fast due to its static type checking. Go has a rich set of libraries, which makes it easy for developers to build applications quickly. Logging is an important aspect of any software application. It helps to debug and monitor the application’s behavior, as well as monitor how it’s performing. Many developers depend on the following Go Logging open source libraries are: logrus - Structured, pluggable logging for Go; loki - Like Prometheus, but for logs; zap | Blazing fast, structured, leveled logging in Go.

logrusby sirupsen

Go doticonstar image 22774 doticonVersion:v1.9.0doticon
License: Permissive (MIT)

Structured, pluggable logging for Go.

Support
    Quality
      Security
        License
          Reuse

            logrusby sirupsen

            Go doticon star image 22774 doticonVersion:v1.9.0doticon License: Permissive (MIT)

            Structured, pluggable logging for Go.
            Support
              Quality
                Security
                  License
                    Reuse

                      lokiby grafana

                      Go doticonstar image 19357 doticonVersion:v2.8.2doticon
                      License: Strong Copyleft (AGPL-3.0)

                      Like Prometheus, but for logs.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                lokiby grafana

                                Go doticon star image 19357 doticonVersion:v2.8.2doticon License: Strong Copyleft (AGPL-3.0)

                                Like Prometheus, but for logs.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          zapby uber-go

                                          Go doticonstar image 18932 doticonVersion:v1.24.0doticon
                                          License: Permissive (MIT)

                                          Blazing fast, structured, leveled logging in Go.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    zapby uber-go

                                                    Go doticon star image 18932 doticonVersion:v1.24.0doticon License: Permissive (MIT)

                                                    Blazing fast, structured, leveled logging in Go.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              sternby wercker

                                                              Go doticonstar image 5376 doticonVersion:1.11.0doticon
                                                              License: Permissive (Apache-2.0)

                                                              ⎈ Multi pod and container log tailing for Kubernetes

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        sternby wercker

                                                                        Go doticon star image 5376 doticonVersion:1.11.0doticon License: Permissive (Apache-2.0)

                                                                        ⎈ Multi pod and container log tailing for Kubernetes
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  logspoutby gliderlabs

                                                                                  Go doticonstar image 4553 doticonVersion:v3.2.14doticon
                                                                                  License: Permissive (MIT)

                                                                                  Log routing for Docker container logs

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            logspoutby gliderlabs

                                                                                            Go doticon star image 4553 doticonVersion:v3.2.14doticon License: Permissive (MIT)

                                                                                            Log routing for Docker container logs
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      go-grpc-middlewareby grpc-ecosystem

                                                                                                      Go doticonstar image 5446 doticonVersion:v2.0.0-rc.5doticon
                                                                                                      License: Permissive (Apache-2.0)

                                                                                                      Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                go-grpc-middlewareby grpc-ecosystem

                                                                                                                Go doticon star image 5446 doticonVersion:v2.0.0-rc.5doticon License: Permissive (Apache-2.0)

                                                                                                                Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          mtailby google

                                                                                                                          Go doticonstar image 3568 doticonVersion:v3.0.0-rc51doticon
                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                          extract internal monitoring data from application logs for collection in a timeseries database

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    mtailby google

                                                                                                                                    Go doticon star image 3568 doticonVersion:v3.0.0-rc51doticon License: Permissive (Apache-2.0)

                                                                                                                                    extract internal monitoring data from application logs for collection in a timeseries database
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              lumberjackby natefinch

                                                                                                                                              Go doticonstar image 4035 doticonVersion:v2.2.1doticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              lumberjack is a log rolling package for Go

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        lumberjackby natefinch

                                                                                                                                                        Go doticon star image 4035 doticonVersion:v2.2.1doticon License: Permissive (MIT)

                                                                                                                                                        lumberjack is a log rolling package for Go
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  log-pilotby AliyunContainerService

                                                                                                                                                                  Go doticonstar image 1362 doticonVersion:v0.9.7doticon
                                                                                                                                                                  License: Permissive (Apache-2.0)

                                                                                                                                                                  Collect logs for docker containers

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            log-pilotby AliyunContainerService

                                                                                                                                                                            Go doticon star image 1362 doticonVersion:v0.9.7doticon License: Permissive (Apache-2.0)

                                                                                                                                                                            Collect logs for docker containers
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      logging-operatorby banzaicloud

                                                                                                                                                                                      Go doticonstar image 1062 doticonVersion:3.17.10doticon
                                                                                                                                                                                      License: Permissive (Apache-2.0)

                                                                                                                                                                                      Logging operator for Kubernetes based on Fluentd and Fluentbit

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                logging-operatorby banzaicloud

                                                                                                                                                                                                Go doticon star image 1062 doticonVersion:3.17.10doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                Logging operator for Kubernetes based on Fluentd and Fluentbit
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          loggerby google

                                                                                                                                                                                                          Go doticonstar image 822 doticonVersion:v1.1.1doticon
                                                                                                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                                                                                                          Cross platform Go logging library.

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    loggerby google

                                                                                                                                                                                                                    Go doticon star image 822 doticonVersion:v1.1.1doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                    Cross platform Go logging library.
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              log-courierby driskell

                                                                                                                                                                                                                              Go doticonstar image 417 doticonVersion:v2.10.0doticon
                                                                                                                                                                                                                              License: Others (Non-SPDX)

                                                                                                                                                                                                                              The Log Courier Suite is a set of lightweight tools created to ship and process log files speedily and securely, with low resource usage, to Elasticsearch or Logstash instances.

                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                        log-courierby driskell

                                                                                                                                                                                                                                        Go doticon star image 417 doticonVersion:v2.10.0doticon License: Others (Non-SPDX)

                                                                                                                                                                                                                                        The Log Courier Suite is a set of lightweight tools created to ship and process log files speedily and securely, with low resource usage, to Elasticsearch or Logstash instances.
                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                Reuse
                                                                                                                                                                                                                                                  Go doticonstar image 366 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                  License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                  A structured logger for Fluentd (Golang)

                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                            fluent-logger-golangby fluent

                                                                                                                                                                                                                                                            Go doticon star image 366 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                            A structured logger for Fluentd (Golang)
                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                      go-loggerby apsdehal

                                                                                                                                                                                                                                                                      Go doticonstar image 263 doticonVersion:1.3.0doticon
                                                                                                                                                                                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                      Simple logger for Go programs. Allows custom formats for messages.

                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                go-loggerby apsdehal

                                                                                                                                                                                                                                                                                Go doticon star image 263 doticonVersion:1.3.0doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                Simple logger for Go programs. Allows custom formats for messages.
                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                          docker-loggerby umputun

                                                                                                                                                                                                                                                                                          Go doticonstar image 197 doticonVersion:v1.3.0doticon
                                                                                                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                                                                                                          Logs collector for docker

                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                    docker-loggerby umputun

                                                                                                                                                                                                                                                                                                    Go doticon star image 197 doticonVersion:v1.3.0doticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                    Logs collector for docker
                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                              See similar Kits and Libraries