From 09d55028321cba0e6e7a7db99df1df1e2e18ae25 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Thu, 12 Oct 2023 08:20:59 -0500 Subject: [PATCH] Fixed test --- src/Exceptionless/Logging/InMemoryExceptionlessLog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptionless/Logging/InMemoryExceptionlessLog.cs b/src/Exceptionless/Logging/InMemoryExceptionlessLog.cs index 3e6ec3ee..44237215 100644 --- a/src/Exceptionless/Logging/InMemoryExceptionlessLog.cs +++ b/src/Exceptionless/Logging/InMemoryExceptionlessLog.cs @@ -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;