← All Go categories

Logging Go Libraries Ranking

Libraries for generating and working with log files.

64 repositories, updated daily.

- Structured logger for Go.

25.7K
2.3K
Yesterday
-2 weekly
View

logger.

25.7K
2.3K
Yesterday
-2 weekly
View

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

25.7K
2.3K
Yesterday
-2 weekly
View

- Fast, structured, leveled logging in Go.

24.6K
1.5K
Yesterday
+30 weekly
View

- Zero-allocation JSON logger.

12.5K
633
Yesterday
+3 weekly
View

, great for CLI tools and applications.

11.4K
986
Yesterday
-2 weekly
View

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

6.4K
374
3 days ago
+2 weekly
View

- Simple rolling logger, implements io.WriteCloser.

5.5K
659
Yesterday
+0 weekly
View

- Leveled execution logs for Go.

3.6K
922
2 days ago
-1 weekly
View

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

2.8K
502
Yesterday
-1 weekly
View

- Colored pretty printer for Go language.

2.1K
109
Yesterday
+2 weekly
View

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

1.6K
238
3 weeks ago
+0 weekly
View

- Structured logging package for Go.

1.4K
111
1 week 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
33
Yesterday
+33 weekly
View

- A slog.Handler that writes tinted logs.

1.3K
64
2 days ago
+4 weekly
View

- Simple, powerful logging for Go.

1.1K
142
2 weeks ago
+0 weekly
View

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

1.1K
258
3 days ago
+0 weekly
View

- High performance structured logging.

870
61
2 days ago
-1 weekly
View

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

631
27
5 days ago
+0 weekly
View

- Lightweight, configurable, extensible logger for Go.

553
33
2 days ago
+2 weekly
View

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

449
16
2 days ago
+10 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
1 week ago
+0 weekly
View

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

379
23
5 days ago
-1 weekly
View

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

371
33
1 week ago
+0 weekly
View

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

356
49
1 month ago
+0 weekly
View

- Simple, configurable and scalable Structured Logging for Go.

293
19
4 months ago
+0 weekly
View

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

292
45
2 months ago
+0 weekly
View

- Simple logger of Go Programs, with level handlers.

288
50
3 months ago
+0 weekly
View

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

224
6
3 days ago
+2 weekly
View

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

193
17
1 month ago
+0 weekly
View

- Minimalistic logging library for Go.

159
17
1 month ago
+0 weekly
View

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

155
22
6 days ago
+0 weekly
View

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

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

- Colorful CLI logger.

65
2
5 days ago
+0 weekly
View

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

56
8
3 months ago
+0 weekly
View

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

51
8
9 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
5 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.

44
9
1 year ago
+0 weekly
View

- Log4j implementation in Go.

42
22
9 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

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

38
8
2 weeks ago
+0 weekly
View

- Log lib supports level and multi handlers.

38
20
6 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).

31
7
2 years ago
+0 weekly
View

- A powerful zero-dependency JSON logger.

28
2
9 months ago
+0 weekly
View

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

25
3
4 months ago
+0 weekly
View

- Simple leveled logging wrapper around standard log package.

17
0
11 months 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

- 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
1 week 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.

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

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

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