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
Could be nice if JsonLayout could render JSON in indented pretty format:
{ "date": "2018-11-18 14:21:45.0671", "level": "INFO", "message": "Some message" }
For console output, that should be parsed by humans. By adding new option IndentJson (Similar to IndentXml for XmlLayout).
IndentJson
IndentXml
Since "primitive" then it is okay with imperfect output when nesting JsonLayout.
See also: https://stackoverflow.com/questions/53361324/nlog-indented-pretty-formatted-json
See also: https://stackoverflow.com/questions/71046880/format-json-object-in-console-or-file-targets-of-nlog
The text was updated successfully, but these errors were encountered:
Can I pick this one up?
Sorry, something went wrong.
@kianiehsan66 Yes you are most wellcome.
@kianiehsan66 still on this?
NLog v5.1.4 has been released - https://www.nuget.org/packages/NLog/5.1.4
Successfully merging a pull request may close this issue.
Could be nice if JsonLayout could render JSON in indented pretty format:
For console output, that should be parsed by humans. By adding new option
IndentJson
(Similar toIndentXml
for XmlLayout).Since "primitive" then it is okay with imperfect output when nesting JsonLayout.
See also: https://stackoverflow.com/questions/53361324/nlog-indented-pretty-formatted-json
See also: https://stackoverflow.com/questions/71046880/format-json-object-in-console-or-file-targets-of-nlog
The text was updated successfully, but these errors were encountered: