logrus VS slog

Compare logrus vs slog and see what are their differences.

logrus

Structured, pluggable logging for Go. (by sirupsen)

slog

By ventu-io
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
logrus slog
32 -
24,055 22
- -
3.0 2.1
about 1 month ago over 6 years ago
Go Go
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.

logrus

Posts with mentions or reviews of logrus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.

slog

Posts with mentions or reviews of slog. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning slog yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing logrus and slog you can also consider the following projects:

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

zerolog - Zero Allocation JSON Logger

glog - Leveled execution logs for Go

lumberjack - lumberjack is a log rolling package for Go

tail - Go package for reading from continously updated files (tail -f)

log15 - Structured, composable logging for Go

xlog - xlog is a logger for net/context aware HTTP applications

seelog - Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.

slf