[fix:] console logging printed an array 👀
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user