Zerolog Alternatives

Similar projects and alternatives to zerolog

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better zerolog alternative or higher similarity.

Suggest an alternative to zerolog

Reviews and mentions

Posts with mentions or reviews of zerolog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-02.
  • Some Go(lang) tips
    dev.to | 2021-10-02
    What to use I prefer zerolog, but zap isn't bad either. Both boast zero-allocation, which is what you want for a task that should have the smallest possible impact on your application.
  • Lumber: A simple and pretty logger for Golang
    reddit.com/r/golang | 2021-09-24
    There is no better way than looking at your older brothers and learning from them: stdlib log, glog, logrus, zerolog, log15 (eth fork)...
  • What Knowledge Golang Back End Developer Should Have?
    reddit.com/r/golang | 2021-08-24
    Logging is another place where the standard library doesn't work very well. I'd have a hard time building quickly without Zerolog.
  • Error stack traces in Go with x/xerror
    news.ycombinator.com | 2021-08-23
    > At boundaries between our code and calls out to external packages, make an effort to always wrap the result with xerrors.Errorf. This ensures that we always capture a stack trace at the most proximate location of an error being generated as possible

    I've been doing something similar for a while using `errors.WithStack` from https://github.com/pkg/errors

    The error can then be logged with https://github.com/rs/zerolog like this `log.Error().Stack().Err(err).Msg("")`

    And using a console writer it's possible to get human readable output instead of the standard JSON, see https://github.com/mozey/logutil

  • What are your favorite packages to use?
    reddit.com/r/golang | 2021-08-15
    logrus and, more recently, zerolog for logging
    reddit.com/r/golang | 2021-08-15
    zerolog for fast logging
  • Naive question, when do you use fmt instead of a log?
    reddit.com/r/golang | 2021-08-03
    advanced logging packages like zerolog or zap allow you to handle your logs in a more flexible manner, e.g. you may set different severity levels and suppress some messages you don't need at the moment or send the same log line to different outputs.
    reddit.com/r/golang | 2021-08-03
    If you’re going to make a change, and I think you probably should, take a look at some alternatives such as zerolog.
  • What are the most useful packages you know for Go?
    reddit.com/r/golang | 2021-07-25
    https://github.com/rs/zerolog - one of the best structural logging library
  • How do I test my knowledge?
    reddit.com/r/golang | 2021-07-23
  • Logging
    dev.to | 2021-06-24
    For logging we will use zerolog module, which you can get by running go get github.com/rs/zerolog/log.
  • Simple, customizable, leveled and efficient logging in Go
    reddit.com/r/golang | 2021-06-07
    What advantage does this provide over something like zerolog?
  • Q: using sync.Pool vs buffer...
    reddit.com/r/golang | 2021-01-21
    i dont know zerolog, from my quick research, i found this

Stats

Basic zerolog repo stats
13
5,408
7.1
16 days ago

rs/zerolog is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote Go jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.