MindscapeHQ / serilog-sinks-raygun

A Serilog sink that writes events to Raygun
Apache License 2.0
11 stars 20 forks source link

Remove duplicate data from UserCustomData #26

Closed QuantumNightmare closed 4 years ago

QuantumNightmare commented 4 years ago

Implements https://github.com/serilog/serilog-sinks-raygun/issues/23

user-name, application-version, custom-grouping-key and tags are Raygun features can be provided by the properties dictionary. This sink will take those provided values and place them on the appropriate parts of the Raygun crash reporting payload. These values are left within the properties dictionary which is then used for the UserCustomData section of the Raygun crash reporting payload which doubles up the data. This PR simply removes those 4 values from the properties dictionary to avoid this double up.