-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
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
Handling multi-line log messages #404
Comments
While this is not directly supported by the existing JsonProviders, you could disable the output of the current message field, and implement this functionality in a custom JsonProvider Alternatively, would you be interested in submitting a PR for modifying the existing |
@philsttr, thanks for pointing me to the right class. I'll try adding a new option to the |
@philsttr, are you ok with adding the JUnitParams library to this project? It uses the same license, Apache 2.0 - 2004. It is also recommended by JUnit: Parameterized tests - See also |
I'd rather not, since I don't see much activity on that project, and the last release was close to 3 years ago. |
When configuring handling of newlines in log messages, a useful addition would be the ability to output the
"message"
field as a JSON array, instead of a JSON string.For example, with either of these logging statements:
The output would be consistent:
This would provide an unambiguous parsing format on the target system instead of relying on the source platform's newline representation.
The text was updated successfully, but these errors were encountered: