gotoproduction VS logrus

Compare gotoproduction vs logrus and see what are their differences.

gotoproduction

quick little snippets/references i use for shipping applications (by amammay)

logrus

Structured, pluggable logging for Go. (by sirupsen)
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gotoproduction logrus
1 36
2 24,516
- -
0.0 0.0
about 3 years ago 2 months 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.

gotoproduction

Posts with mentions or reviews of gotoproduction. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-04.

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 2024-08-19.
  • I curate a daily newsletter with resources about Golang - Daily Golang. Here are the latest 6 issues of the newsletter
    3 projects | dev.to | 19 Aug 2024
    sirupsen/logrus Logrus is a structured, pluggable logging library for Go, designed to provide a flexible logging framework that supports various output formats and hooks.
  • Go is my hammer, and everything is a nail
    24 projects | news.ycombinator.com | 12 Aug 2024
    For an internal-only dependency it's possible. But if you've got a lot of active branches, or long-lived feature branches, it'll create chaos in merge conflicts. Even worse if you've got multiple supported versions of a product on release branches (e.g., `main-v1.0`, `main-v1.1`, `main-v1.2`, and `main` itself for the yet-to-be-released `v1.3`) you either make backports awful (by only changing the import path on `main`) or have to change even more things (by changing the import path on the release branches too).

    It's effectively impossible for pubic-facing dependencies. Imagine if https://github.com/sirupsen/logrus wanted to change their Go modules import path, for example to move to another git hosting provider. (Logrus is great by the way, I'm only 'picking' on it as a popular Go library that's used everywhere.) GitHub tells me that almost 200,000 Go projects depend on it (https://github.com/sirupsen/logrus/network/dependents), so all of them would need to change every source file they do logging in (probably most of them) in order to handle that.

    GitHub seems like it's going to be eternal for now, but when the industry moves on in 10 years time every single Go project is going to break. This would be a problem for any source dependency management solution of course, it's not like any of the others are immune to this issue. But because Go has you encode the Git path in every source file you import it into, the level of change to fix it is an order of magnitude higher.

  • Observability - Why logging its important
    2 projects | dev.to | 28 Jun 2024
    The following is an example of displaying logs using the Golang language with various levels. Here we use the Logrus.
  • Beautiful graph visualizations of packages for different managers
    8 projects | news.ycombinator.com | 27 Jun 2024
    The graphics remind me very much of Netwars [1], although the controls of Netwars were a little bit better. However, this feels so good compared to some randomly generated universe, as you know that every star is something meaningful. And you can find actually helpful stuff: I just found logrus [2] a Go library for logging, which sounds cool :-D

    1: https://en.wikipedia.org/wiki/NetWars

    2: https://github.com/Sirupsen/logrus

  • Authentication system using Golang and Sveltekit - Initialization and setup
    7 projects | dev.to | 2 Jun 2023
    It's some sort of logging system well explained by Alex Edwards in Let’s Go Further. As stated, we could have used logrus or any other popular logging system in Go.
  • Renaming public Go modules
    1 project | /r/golang | 16 Apr 2023
    Option 2, please. You may not have been around for the logrus debacle, but it was a giant pain.
  • What is the common log library which is industry standard that is used in server applications?
    5 projects | /r/golang | 21 Mar 2023
  • Observing AWS Lambda with Golang and Datadog
    1 project | dev.to | 20 Mar 2023
    For the example I’m using the very popular logrus library and then I’m setting the log formatter to be JSON
  • Best Logging Library for Golang
    6 projects | dev.to | 12 Feb 2023
    For choosing the candidates for the poll, I didn't do any thorough research. I was looking for a library to use in my project at work, and I ended up at sirupsen/logrus which was already being used by one of the dependencies in that project.
  • Follow up to previous post: I contributed to an open source project outside working hours despite being asked not to. I was fired. No legal action.
    1 project | /r/ExperiencedDevs | 10 Jan 2023
    I contribute to OSS as part of my job on the regular. The company is good about contributing upstream, signing CLAs, and all that. We still work against private forks for two main reasons: 1. Some changes that we need are not accepted by maintainers based on philosophical or architectural reasons that we can’t otherwise work around. You’re beholden to then unless you publicly fork the repo which has other legal/PR overhead for the company and OSS political implications. 2. Maintainers in the past have taken down repos, renamed repos, or changed the licensing on repos that have left us in a lurch. We always build against our own private forks because we need predictability and can’t be beholden to some other party for business continuity. We sync them down from the public upstream at our leisure.

What are some alternatives?

When comparing gotoproduction and logrus 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

slog

log15 - Structured, composable logging for Go

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

log - Structured logging package for Go.

Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

go-log - a golang log lib supports level and multi handlers

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

errors - Simple error handling primitives

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that Go is
the 4th most popular programming language
based on number of metions?