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
gommon.log produces erroneous JSON output if the passed message contains newline characters or quotes.
gommon.log
e.Logger.Info(`hello "world"`)
produces
{"time":"2016-12-18T14:51:44+01:00","level":"INFO","prefix":"echo","file":"main.go","line":"28","message":"hello "world""}
This means all panics caught and logged by Echo as JSON are not parsable.
func someHandler(c echo.Context) error { panic("abcde") return c.String(http.StatusOK, "Hello, World!") }
The text was updated successfully, but these errors were encountered:
Closed in #9
Sorry, something went wrong.
vishr
No branches or pull requests
gommon.log
produces erroneous JSON output if the passed message contains newline characters or quotes.produces
This means all panics caught and logged by Echo as JSON are not parsable.
The text was updated successfully, but these errors were encountered: