-
Is this false positive?
```
func info() *zerolog.Event {
return log.Info()
}
```
```
must be dispatched by Msg or Send method (zerologlint)
return log.Info()
```
-
https://github.com/rs/zerolog#contextcontext-integration
this allow us to have "stacktrace" like logs where we can append log prefixes and pass down
6543 updated
4 months ago
-
I'm using zerolog to log both regular events, and access log events using two separately configured loggers. I would like to be able to filter these events in the resulted logs easily and thinking abo…
-
# Go 每日一库之 zerolog - 大俊的博客
简介 每个编程语言都有很多日志库,因为记录日志在每个项目中都是必须的。前面我们介绍了标准日志库log、好用的logrus和上一篇文章中介绍的由
[https://darjun.github.io/2020/04/24/godailylib/zerolog/](https://darjun.github.io/2020/04/24/godai…
-
I know it's early days but I would really like to be able to use alternative logging providers.
Since logrus went into maintenance mode I have gone quite partial to https://github.com/rs/zerolog
-
I've noticed that when I'm trying to test the output of logs in some tests, it can cause a race condition to be detected. This is because reassigning the global logger's output is not thread-safe. Jus…
-
## Context
When creating a new check in Synthetic Monitoring, you can use the "test" button to try a check before saving it.
This test button creates a "adhoc" check. How an adhoc check work…
-
In short, according to the title, when I use a zero log interface it can't print the logs, here the code snippet
```go
e.Logger().Print("Echo interface")
zerolog.Ctx(e.Request().Context()).Pri…
-
They're much faster logging libraries compared to logrus.
-
Hi. One of main use cases I know for logger fields is to append more stuff as you go, but the return difference between `Logger()` and `Ctx()` makes it quite weird.
Let's say we have this code snip…