borisermakof / serilog-sinks-fluentd

A Sink that writes logs into Fluentd
Apache License 2.0
20 stars 30 forks source link

Changed how log property values are converted in the final output #8

Open maulik13 opened 6 years ago

maulik13 commented 6 years ago

By using ToString() on the log property values, the final string values end up with double quotes as part of their values. The pull request uses a method that checks the log property value type and returns the correct value. This code is taken from https://github.com/saleem-mirza/serilog-sinks-azure-analytics.

I have also added simple usage info in the README file.

maulik13 commented 6 years ago

There is one problem with this PR, DateTime is sent incorrectly and that is causing errors on Fluentd side.