From e9ec8f0e8ff9cceafb2a1f8d73b0934f72aace7f Mon Sep 17 00:00:00 2001 From: seerge Date: Mon, 13 Mar 2023 23:14:28 +0100 Subject: [PATCH] - --- Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index e49dcf630..e16906bc3 100644 --- a/Program.cs +++ b/Program.cs @@ -9,7 +9,7 @@ public static class Logger public static void WriteLine(string logMessage) { Debug.WriteLine(logMessage); - + var appPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\GHelper"; var logFile = appPath + "\\log.txt"; @@ -17,7 +17,6 @@ public static void WriteLine(string logMessage) using (StreamWriter w = File.AppendText(logFile)) { - Debug.WriteLine(logMessage); w.WriteLine($"{DateTime.Now}: {logMessage}"); }