This commit is contained in:
2022-04-19 00:05:16 +02:00
parent e7c2ae7b8d
commit d7f2348f0d
20 changed files with 924 additions and 49 deletions

20
APP/Utility/LogBoy.cs Normal file
View File

@@ -0,0 +1,20 @@
using System.Text;
namespace APP.Utility;
internal static class LogBoy
{
private static readonly StringBuilder Log = new();
internal static void AddToLog(string text)
{
Log.Append('[' + DateTime.Now.ToShortTimeString() + "] ");
Log.Append(text);
Log.AppendLine();
}
internal static string GetLog()
{
return Log.ToString();
}
}