Set the Level
The level - similar to logging levels - is generally added by default based on the integration. You can also override it within an event.
Copied
using Sentry;
SentrySdk.ConfigureScope(scope =>
{
scope.Level = SentryLevel.Warning;
});
- Package:
- nuget:Sentry.Log4Net
- Version:
- 4.9.0
- Repository:
- https://github.com/getsentry/sentry-dotnet