-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
added switch to JsonLayout to suppress the extra spaces #797
Conversation
extra spaces can now be omitted when using the JsonLayout. useful when every little byte matters.
Thanks It would be nice if we create one (append) method which add the optional spacing. Do you agree? |
That would work too. I was also thinking an extension method, that was the On Mon, Jul 13, 2015, 14:34 Julian Verdurmen [email protected]
|
I would like to merge this. But there is a conflict. Can you fix this? |
…bServiceTarget Added logrecievertest with ServiceHost
…ileParameters Improve docs `ICreateFileParameters`
We need also docs on the wiki. Can you add them (with an 4.1 note) |
extra spaces can now be omitted when using the JsonLayout. useful when every little byte matters.
Conflicts: src/NLog/Layouts/JsonLayout.cs
added switch to JsonLayout to suppress the extra spaces
Thanks! It has been merged! |
the extra spaces can now be suppressed for the JsonLayout. I found this modification to be useful when using a network target sending via UDP ... every little byte matters.
also added was a unit test and I tested the nlog file configuration (with the Nlog.test project) to ensure the configuration attribute was working correctly.