From 6f03a26c29a27bc55f9ac374fbf4ef6c282b0660 Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Sat, 16 May 2026 14:41:06 +0200 Subject: [PATCH] [fix:] console logging printed an array :eyes: --- Logger.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Logger.cs b/Logger.cs index 51582b2..321e5f2 100644 --- a/Logger.cs +++ b/Logger.cs @@ -19,10 +19,10 @@ public static class Logger if(!File.Exists(log_path)) File.Create(log_path).Close(); - string[] line = [$"[{DateTime.Now:dd.MM.yyyy - T}]: ({logType.ToString()}) {text})"]; + string line = $"[{DateTime.Now:dd.MM.yyyy - T}]: ({logType.ToString()}) {text})"; Console.WriteLine(line); - File.AppendAllLines(log_path, line); + File.AppendAllLines(log_path, [line]); } catch (Exception ex) {