jjchiw / gelf4net

GELF log4net Appender - graylog2
MIT License
63 stars 59 forks source link

Fixed error in GelfLayout #14

Closed the-vk closed 10 years ago

the-vk commented 10 years ago

NullReferenceException was thrown if one of property values was null.

Proposed patch fixes it by checking for null before property value is appended to message. There is also unit test for this case.

jjchiw commented 10 years ago

Thanks, I updated the package https://www.nuget.org/packages/Gelf4Net/