MindscapeHQ / serilog-sinks-raygun

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

Added RaygunClientMessage #27

Closed QuantumNightmare closed 4 years ago

QuantumNightmare commented 4 years ago

The RaygunClientMessage section of the Raygun crash report payload specifies some information about the assembly used to send payloads to Raygun, e.g. a unique name and version. This is sometimes used within Raygun to select stack trace formatters and an appropriate error grouping algorithm. This PR adds this section for the Raygun serilog sink.

The version is fetched via Reflection. If this is undesired, another option could be to hard code the version here, but that would need to be kept in sync with the actual assembly version every time it's changed.

nblumhardt commented 4 years ago

LGTM!