From 3365be219c3696c7d109544c5a7fe2503bbdd106 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 29 Aug 2023 14:08:57 +0200 Subject: [PATCH] Logger: Logmessage time --- Logging/MemoryLogger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logging/MemoryLogger.cs b/Logging/MemoryLogger.cs index 47581f2..9cc5f95 100644 --- a/Logging/MemoryLogger.cs +++ b/Logging/MemoryLogger.cs @@ -14,7 +14,7 @@ public class MemoryLogger : LoggerBase protected override void Write(LogMessage value) { - while(!_logMessages.TryAdd(value.logTime, value)) + while(!_logMessages.TryAdd(DateTime.Now, value)) Thread.Sleep(10); }