Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Oct 12, 2023
1 parent 672ff05 commit 09d5502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptionless/Logging/InMemoryExceptionlessLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void Write(LogEntry entry) {
if (MaxEntriesToStore <= 0 || entry == null)
return;

if (entry.Level < MinimumLogLevel)
if (MinimumLogLevel != null && entry.Level < MinimumLogLevel)
return;

entry.Date = DateTime.Now;
Expand Down

0 comments on commit 09d5502

Please sign in to comment.