errors VS logrus

Compare errors vs logrus and see what are their differences.

errors

Simple error handling primitives (by pkg)

logrus

Structured, pluggable logging for Go. (by sirupsen)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
errors logrus
30 32
7,511 24,012
- -
0.2 3.0
over 2 years ago 28 days ago
Go Go
BSD 2-clause "Simplified" 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.

errors

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

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.

What are some alternatives?

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

zerolog - Zero Allocation JSON Logger

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

autoflags - Populate go command line app flags from config struct

go-multierror - A Go (golang) package for representing a list of errors as a single error.

glog - Leveled execution logs for Go

bitio - Optimized bit-level Reader and Writer for Go.

lumberjack - lumberjack is a log rolling package for Go

Testify - A toolkit with common assertions and mocks that plays nicely with the standard library

slog

uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.

log15 - Structured, composable logging for Go