Skip to content

Commit 09d5502

Browse files
committed
Fixed test
1 parent 672ff05 commit 09d5502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless/Logging/InMemoryExceptionlessLog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private void Write(LogEntry entry) {
5656
if (MaxEntriesToStore <= 0 || entry == null)
5757
return;
5858

59-
if (entry.Level < MinimumLogLevel)
59+
if (MinimumLogLevel != null && entry.Level < MinimumLogLevel)
6060
return;
6161

6262
entry.Date = DateTime.Now;

0 commit comments

Comments
 (0)