Created new logger

This commit is contained in:
Andrei Tudor
2023-04-20 19:52:55 +03:00
parent 75a77389a8
commit b0be76c62b
15 changed files with 191 additions and 173 deletions

View File

@@ -146,9 +146,7 @@ internal class CommandHandler
}
catch (Exception ex)
{
ex.WriteErrFile();
Console.WriteLine(ex.ToString());
Config.Logger.Log(ex.Message, this, TextType.ERROR);
}
}
}