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
logrus is under maintenance mode which means it is lack of some necessary feature (e.g. stack trace).
Moreover, it would be better to using error object serves as the error description instead of creating error sturct served for different purposes.
error
The logger library, zap is a library developed by uber can meet the needs I mentioned above. It would be great to introduce it in this project.
The text was updated successfully, but these errors were encountered:
embedding error object in zap would look like the following style
logger.Fatal("logging message", zap.Error(err))
Sorry, something went wrong.
Refer this for implementing contextLogger with logrus https://notes.burke.libbey.me/context-and-logging/
No branches or pull requests
logrus is under maintenance mode which means it is lack of some necessary feature (e.g. stack trace).
Moreover, it would be better to using
error
object serves as the error description instead of creating error sturct served for different purposes.The logger library, zap is a library developed by uber can meet the needs I mentioned above. It would be great to introduce it in this project.
The text was updated successfully, but these errors were encountered: