← All Go categories

Logging Go Libraries Ranking

Libraries for generating and working with log files.

73 repositories, updated daily.

logger.

25.7K
2.3K
Yesterday
+6 weekly
View

- Structured logger for Go.

25.7K
2.3K
Yesterday
+6 weekly
View

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

25.7K
2.3K
Yesterday
+6 weekly
View

- Fast, structured, leveled logging in Go.

24.7K
1.6K
Yesterday
+9 weekly
View

- Zero-allocation JSON logger.

12.5K
641
Yesterday
-2 weekly
View

, great for CLI tools and applications.

11.5K
994
4 days ago
+2 weekly
View

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

6.4K
375
Yesterday
+3 weekly
View

- Simple rolling logger, implements io.WriteCloser.

5.5K
657
Yesterday
+2 weekly
View

- Leveled execution logs for Go.

3.6K
921
2 days ago
-1 weekly
View

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

2.8K
502
Yesterday
+0 weekly
View

- Colored pretty printer for Go language.

2.1K
108
1 week ago
+0 weekly
View

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

1.6K
239
2 weeks ago
+0 weekly
View

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

1.4K
34
2 days ago
+4 weekly
View

- Structured logging package for Go.

1.4K
112
2 weeks ago
+0 weekly
View

- A slog.Handler that writes tinted logs.

1.4K
63
2 days ago
+5 weekly
View

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

1.1K
262
5 days ago
+0 weekly
View

- Simple, powerful logging for Go.

1.1K
143
2 weeks ago
+0 weekly
View

- High performance structured logging.

873
62
2 days ago
+2 weekly
View

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

638
27
1 week ago
+1 weekly
View

- Lightweight, configurable, extensible logger for Go.

557
33
Yesterday
+1 weekly
View

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

456
16
2 weeks ago
+0 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.

412
17
1 week ago
+1 weekly
View

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

379
23
1 month ago
+0 weekly
View

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

371
35
1 month ago
+0 weekly
View

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

355
49
1 month ago
+0 weekly
View

- Simple, configurable and scalable Structured Logging for Go.

293
19
5 months ago
+0 weekly
View

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

292
45
4 months ago
+0 weekly
View

- Simple logger of Go Programs, with level handlers.

287
50
2 days ago
-1 weekly
View

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

226
5
1 month ago
+0 weekly
View

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

193
17
2 months ago
+0 weekly
View

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

163
22
2 days ago
+2 weekly
View

- Minimalistic logging library for Go.

159
17
2 months ago
+0 weekly
View

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

141
11
2 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
29
4 weeks ago
+0 weekly
View

- A slog handler for Grafana Loki.

82
7
1 month ago
+0 weekly
View

- A slog handler for Zerolog.

77
7
1 month 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
5 months ago
+0 weekly
View

- A slog handler for Zap.

55
8
1 month ago
+0 weekly
View

- A slog handler for Sentry.

54
5
1 month ago
+0 weekly
View

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

51
8
11 months ago
+0 weekly
View

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

48
5
1 year ago
+0 weekly
View

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

46
3
7 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
1 week ago
-1 weekly
View

- Log4j implementation in Go.

42
22
10 months 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
4 days ago
+1 weekly
View

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

39
8
2 weeks ago
+0 weekly
View

- A slog handler for Logrus.

33
3
1 month 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).

31
7
2 years ago
+0 weekly
View

- A powerful zero-dependency JSON logger.

28
2
11 months ago
+0 weekly
View

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

25
3
6 months ago
+0 weekly
View

- A slog handler for Slack.

23
6
1 month 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
1 month ago
+0 weekly
View

- PHP Monolog inspired logging facility with identical severity levels.

16
1
1 year 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
1 year 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
1 month 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
3 years ago
+0 weekly
View

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

8
5
3 years ago
+0 weekly
View

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

7
0
4 weeks 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
Yesterday
+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
2 months ago
+0 weekly
View

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

2
0
2 days ago
+0 weekly
View

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

1
0
2 weeks ago
+0 weekly
View

- Yet another minimalistic logging library.

1
0
3 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 month ago
+0 weekly
View