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
I am not sure how your code makes a difference against using the standard JSONFormatter like this:
logrus.SetFormatter(&log.JSONFormatter{ FieldMap: logrus.FieldMap{ logrus.FieldKeyTime: "time", logrus.FieldKeyLevel: "severity", logrus.FieldKeyMsg: "message", }, })
Could you please elaborate?
The text was updated successfully, but these errors were encountered:
I was not aware of the FieldMap option, it's probably enough to use that. Thank you for providing an example
Sorry, something went wrong.
... just to add that it also maps the logrus severity levels to the fluentd severity levels.
No branches or pull requests
I am not sure how your code makes a difference against using the standard JSONFormatter like this:
Could you please elaborate?
The text was updated successfully, but these errors were encountered: