MindscapeHQ / serilog-sinks-raygun

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

Removal of ASP .NET Enricher #67

Closed phillip-haydon closed 12 months ago

phillip-haydon commented 12 months ago

When pulling the Serilog.Sinks.Raygun into .NET Core projects that are non-web based, such as console apps or MAUI apps, the enricher requires asp .net dependencies to be pulled in.

This PR removes that dependency which removes the enricher. There are many encrichers available for http properties which can be used instead to add data to the crash reports.

However removing the enricher removes the need for Mindscape.Raygun4Net.AspNetCore which contains an interface for custom Raygun Client providers. To compensate we introduce IRaygunClientProvider which means we can implement custom Raygun Client provider in both .NET Core and .NET Framework.

phillip-haydon commented 12 months ago

Next PR will have the web project for testing :) #68