Skip to content

Commit da657af

Browse files
authored
Fix Serilog.MinimumLevel not working (#16)
1 parent a0319f8 commit da657af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Serilog.Sinks.Exceptionless/Sinks/Exceptionless/ExceptionlessSink.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ public void Emit(LogEvent logEvent) {
9393
if (logEvent == null || !_client.Configuration.IsValid)
9494
return;
9595

96-
var minLogLevel = _client.Configuration.Settings.GetMinLogLevel(logEvent.GetSource());
97-
if (logEvent.GetLevel() < minLogLevel)
98-
return;
99-
10096
var builder = _client.CreateFromLogEvent(logEvent).AddTags(_defaultTags);
10197

10298
if (_includeProperties && logEvent.Properties != null) {

0 commit comments

Comments
 (0)