From 806d064cf47bc1d27d3344e5e38c345f9bffdc89 Mon Sep 17 00:00:00 2001 From: VladMordock Date: Thu, 18 Feb 2021 02:32:30 +0100 Subject: [PATCH] Improved logs at GUI --- 02_Windows_App/Perun_v1/01_Classes/PerunHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Windows_App/Perun_v1/01_Classes/PerunHelper.cs b/02_Windows_App/Perun_v1/01_Classes/PerunHelper.cs index 9161243..7eaa808 100644 --- a/02_Windows_App/Perun_v1/01_Classes/PerunHelper.cs +++ b/02_Windows_App/Perun_v1/01_Classes/PerunHelper.cs @@ -92,7 +92,7 @@ internal class PerunHelper } // Add new entry - arrLogHistory[arrLogHistory.Length - 1] = $"{DateTime.Now.ToString("HH:mm:ss.fff")} {LogDirection} {LogType} {strEntryToAdd}"; // Add entry at the last position + arrLogHistory[arrLogHistory.Length - 1] = $"{DateTime.Now.ToString("HH:mm:ss")} {LogType} {Globals.LastFrameDelay.ToString("0.00")}µs {strEntryToAdd}"; // Add entry at the last position // Update control at my window Globals.AppUpdateGUI = true;