slog
📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能 (by gookit)
lg
✍🐻 A simple golang logger that extends the standard log package. (by bearatol)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
slog
Posts with mentions or reviews of slog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-04.
-
GitHub - gookit/slog: Release v0.5.1
gookit/slog: 📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.
- Release v0.4.0 · gookit/slog - Lightweight, configurable, extensible logging library written in Go.
-
Rethinking logging levels
I'm building a logging/tracing system -- see xop. I'm trying to make it stand out from the competition (which I see as slog and Open Telemetry -- zap and zerolog do not integrate with tracing well enough). As such, I'm examining each aspect of logging and asking myself what I can do better.
-
slog - Lightweight, configurable, extensible Go logging library
Github: https://github.com/gookit/slog
- GitHub - gookit/slog: 📑 Lightweight, configurable, extensible logging library written in Go.
lg
Posts with mentions or reviews of lg.
We have used some of these posts to build our list of alternatives
and similar projects.
-
I created the simple logger.
lg logger I wrote a logger that is as simple as possible, suitable as a replacement for the standard logger, because it works on its basis. It can't compare with zap and logrus, it just adds the convenience of using the standard log.
What are some alternatives?
When comparing slog and lg you can also consider the following projects:
logf - Extremely fast, light weight, zero alloc logfmt logging library for Go.
go-logger - A unified logging library with interchangeable backends
requestbin - an HTTP server that does nothing but log requests you send to it
goAPIBaseProject - simple api project written in go
xop-go - Golang structured logging/tracing framework
slog-gin - 🚨 Gin middleware for slog logger
go - The Go programming language
golog - Golog is a production ready logger which support tracing and other custom behaviours out of the box. Blazing fast and simple to use.
Logdy.dev - Web based real-time log viewer. Stream ANY content to a web UI with autogenerated filters. Parse any format with TypeScript.