← All Go categories

Logging Go Libraries Ranking

Libraries for generating and working with log files.

73 repositories, updated daily.

plug-in to send errors to a [Loggly](https://www.loggly.com/).

25.8K
2.4K
Yesterday
+8 weekly
View

- Structured logger for Go.

25.8K
2.4K
Yesterday
+8 weekly
View

logger.

25.8K
2.4K
Yesterday
+8 weekly
View

- Fast, structured, leveled logging in Go.

24.7K
1.6K
Yesterday
+5 weekly
View

- Zero-allocation JSON logger.

12.5K
752
Yesterday
-4 weekly
View

, great for CLI tools and applications.

11.5K
995
Yesterday
+2 weekly
View

- Implements a deep pretty printer for Go data structures to aid in debugging.

6.4K
378
5 days ago
+0 weekly
View

- Simple rolling logger, implements io.WriteCloser.

5.5K
659
1 week ago
-1 weekly
View

- Leveled execution logs for Go.

3.6K
920
1 week ago
-1 weekly
View

- Go package striving to emulate the features of the BSD tail program.

2.8K
499
1 month ago
+0 weekly
View

- Colored pretty printer for Go language.

2.1K
109
3 days ago
-3 weekly
View

- Logging functionality with flexible dispatching, filtering, and formatting.

1.6K
239
1 month ago
+0 weekly
View

- A TUI for reading and filtering logs from journalctl, file system, Docker and Podman containers, as well Kubernetes pods.

1.5K
39
Yesterday
+3 weekly
View

- A slog.Handler that writes tinted logs.

1.4K
65
Yesterday
-2 weekly
View

- Structured logging package for Go.

1.4K
114
Yesterday
-2 weekly
View

- Sentry SDK for Go. Helps monitor and track errors with real-time alerts and performance monitoring.

1.1K
268
Yesterday
+1 weekly
View

- Simple, powerful logging for Go.

1.1K
144
Yesterday
-1 weekly
View

- High performance structured logging.

880
64
Yesterday
-1 weekly
View

- Chain of slog.Handler (pipeline, fanout...).

645
30
Yesterday
+0 weekly
View

- Lightweight, configurable, extensible logger for Go.

557
33
5 days ago
+0 weekly
View

- Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).

457
17
Yesterday
-1 weekly
View

- Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenarios. Also, it is one of the logger with the lowest allocation.

413
17
Yesterday
-1 weekly
View

- A logger for Go SQL database driver without modify existing \*sql.DB stdlib usage.

379
23
Yesterday
-1 weekly
View

- Utilities for slightly better logging in Go (Golang) extending the standard logger.

372
35
Yesterday
+0 weekly
View

- 12-factor app logger that is fast and makes you happy.

354
48
1 month ago
+0 weekly
View

- Simple, configurable and scalable Structured Logging for Go.

293
19
7 months ago
+0 weekly
View

- RollingWriter is an auto-rotate `io.Writer` implementation with multi policies to provide log file rotation.

292
45
1 month ago
+0 weekly
View

- Simple logger of Go Programs, with level handlers.

287
50
2 months ago
+0 weekly
View

- Common formatters for slog and helpers to build your own.

228
7
2 weeks ago
+0 weekly
View

- glg is simple and fast leveled logging library for Go.

193
17
4 months ago
+0 weekly
View

- Rolling logger with size-based, time-based, and scheduled clock-based rotation, supporting compression and cleanup.

172
24
1 week ago
+0 weekly
View

- Minimalistic logging library for Go.

159
17
4 months ago
+0 weekly
View

- Structured logger for `net/context` aware HTTP handlers with flexible dispatching.

141
11
4 months ago
+0 weekly
View

- High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).

123
30
3 weeks ago
+0 weekly
View

- A slog handler for Grafana Loki.

82
7
3 months ago
+0 weekly
View

- A slog handler for Zerolog.

77
7
2 weeks ago
+0 weekly
View

- Colorful CLI logger.

65
2
2 weeks ago
+0 weekly
View

- Simple writer that rotate log files automatically based on current date and time, like cronolog.

56
8
7 months ago
+0 weekly
View

- A slog handler for Zap.

55
8
3 months ago
+0 weekly
View

- A slog handler for Sentry.

54
5
3 months ago
+0 weekly
View

- Fast, extendable, full-featured, std-lib source compatible log library.

51
8
1 year ago
+0 weekly
View

- Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.

48
5
2 years ago
+0 weekly
View

- Go implementation of systemd Journal's native API for logging.

46
3
9 months ago
+0 weekly
View

- Parametrized JSON logging library which lets you obfuscate sensitive data and marshal any kind of content. No more printed pointers instead of values, nor escape chars for the JSON strings.

43
9
2 months ago
+0 weekly
View

- Log4j implementation in Go.

42
22
1 year ago
+0 weekly
View

- Golang log lib, supports tracking and level, wrap by standard log lib.

42
13
1 year ago
+0 weekly
View

- Log lib supports level and multi handlers.

40
21
2 months ago
+0 weekly
View

- Integrate Context with Zap logger, which leads to more flexibility in Go logging.

39
8
2 months ago
+0 weekly
View

- A slog handler for Logrus.

33
3
3 months ago
+0 weekly
View

- Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.

33
18
1 year ago
+0 weekly
View

- distilled levelled logging (think of it as stdlib + log levels).

32
7
2 weeks ago
+0 weekly
View

- A powerful zero-dependency JSON logger.

28
2
1 year ago
+0 weekly
View

- Structured log interface for Go cleanly separates logging facade from its implementation.

25
3
7 months ago
+0 weekly
View

- A slog handler for Slack.

23
6
3 months ago
+0 weekly
View

- Simple leveled logging wrapper around standard log package.

17
0
1 year ago
+0 weekly
View

- Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax.

17
2
1 year ago
+0 weekly
View

- A slog handler for Datadog.

16
5
3 months ago
+0 weekly
View

- PHP Monolog inspired logging facility with identical severity levels.

16
1
2 years ago
+0 weekly
View

- Simple and configurable Logging in Go, with level, formatters and writers.

14
7
3 years ago
+0 weekly
View

- Golang logger to different configurable writers.

12
2
2 years ago
+0 weekly
View

- High Developer Experience, zap based logger. It offers rich functionality but is easy to configure.

11
0
2 weeks ago
+0 weekly
View

- A logging library with stack traces, object dumping and optional timestamps.

11
5
2 months ago
+0 weekly
View

- Package for multi-level logging.

10
2
1 month ago
+0 weekly
View

- An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).

10
1
4 years ago
+0 weekly
View

- Append-only, hash-chained, optionally Ed25519-signed slog handler with offline verification of tampering.

8
1
4 weeks ago
+0 weekly
View

- Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.

8
5
4 years ago
+0 weekly
View

- Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks.

6
0
2 weeks ago
+0 weekly
View

- A simple to use log system, minimalist but with features for debugging and differentiation of messages.

5
1
2 years ago
+0 weekly
View

- A simple logging framework out of the box.

4
0
4 months ago
+0 weekly
View

- Google Cloud Logging handler for log/slog, with OpenTelemetry trace and baggage, and Kubernetes podinfo labels.

3
0
2 weeks ago
+0 weekly
View

- Log4g provides Log4j-style configuration and pattern layouts for Go's standard log/slog logging facade.

1
0
1 month ago
+0 weekly
View

- Yet another minimalistic logging library.

1
0
4 years ago
+0 weekly
View

- Configures the standard library log/slog logger from environment variables: level, format, source location, and stdout/stderr split.

0
0
1 week ago
+0 weekly
View