go-logger VS lg

Compare go-logger vs lg and see what are their differences.

go-logger

A unified logging library with interchangeable backends (by InVisionApp)

lg

✍🐻 A simple golang logger that extends the standard log package. (by bearatol)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-logger lg
1 1
21 25
- -
2.8 1.8
12 months ago about 1 year ago
Go Go
MIT License MIT License
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.

go-logger

Posts with mentions or reviews of go-logger. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-27.
  • Logger and Clean Architecture
    6 projects | /r/golang | 27 Dec 2021
    For that reason I would advise to use any logging aggregators that have rich adapters and capabilities to add new ones, eg. something like this: https://github.com/InVisionApp/go-logger . Note that this particular project is now abandoned (serious mem leak I posted as PR was never merged; I use my custom, public fork for that reason) so it is worth to ask: does anyone know about anything more recent, active and maintained that implements similar concept?

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.
    1 project | /r/golang | 31 Jan 2023
    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 go-logger and lg you can also consider the following projects:

golog - Golog is a production ready logger which support tracing and other custom behaviours out of the box. Blazing fast and simple to use.

goAPIBaseProject - simple api project written in go

log15 - Structured, composable logging for Go

slog-gin - 🚨 Gin middleware for slog logger

logr - A simple logging interface for Go

zap - Blazing fast, structured, leveled logging in Go.

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.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能

go-core