[fix:] format errors
This commit is contained in:
@@ -19,7 +19,7 @@ public static class Logger
|
|||||||
if(!File.Exists(log_path))
|
if(!File.Exists(log_path))
|
||||||
File.Create(log_path).Close();
|
File.Create(log_path).Close();
|
||||||
|
|
||||||
string line = $"[{DateTime.Now:dd.MM.yyyy - T}]: ({logType.ToString()}) {text})";
|
string line = $"[{DateTime.Now:dd.MM.yyyy - hh:mm:ss}]: ({logType.ToString()}) {text}";
|
||||||
Console.WriteLine(line);
|
Console.WriteLine(line);
|
||||||
|
|
||||||
File.AppendAllLines(log_path, [line]);
|
File.AppendAllLines(log_path, [line]);
|
||||||
|
|||||||
Reference in New Issue
Block a user