We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The *.err(err Error) API from zerodriver is not behaving like the one from zerolog.
The execution of the following command
package main import ( "github.com/hirosassa/zerodriver" "github.com/rs/zerolog/log" ) func main() { driverLog := *zerodriver.NewProductionLogger() log.Logger = *driverLog.Logger driverLog.Err(nil).Msg("error") log.Err(nil).Msg("error") }
is
{"severity":"ERROR","time":"2022-12-02T16:16:39.642678263+01:00","message":"error"} {"severity":"INFO","time":"2022-12-02T16:16:39.642704011+01:00","message":"error"}
This is the result of the usage of the wrong API in the abstraction layer at:
zerodriver/logger.go
Line 94 in e5d03f7
e := l.Logger.Err(err)
The text was updated successfully, but these errors were encountered:
This issue solved in #29
Sorry, something went wrong.
@mgh87 I released v0.1.4 including your contribution. Thanks again!
No branches or pull requests
The *.err(err Error) API from zerodriver is not behaving like the one from zerolog.
The execution of the following command
is
This is the result of the usage of the wrong API in the abstraction layer at:
zerodriver/logger.go
Line 94 in e5d03f7
Which should be replaced with
The text was updated successfully, but these errors were encountered: