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
From #1380 (comment)
The config validation on the Log.Format should use go.validator system. Add oneof=text json > https://godoc.org/gopkg.in/go-playground/validator.v9#hdr-One_Of With that, we can remove l149 and we could do the same for the logLevel.
Log.Format
go.validator
oneof=text json
logLevel
The text was updated successfully, but these errors were encountered:
For log format yes, for log level is still better to use Parse instead of rewrite all levels from logrus :)
Sorry, something went wrong.
krhubert
Successfully merging a pull request may close this issue.
From #1380 (comment)
The config validation on the
Log.Format
should usego.validator
system.Add
oneof=text json
> https://godoc.org/gopkg.in/go-playground/validator.v9#hdr-One_OfWith that, we can remove l149 and we could do the same for the
logLevel
.The text was updated successfully, but these errors were encountered: