Files
app/APP/Utility/LogBoy.cs
2022-04-19 00:05:16 +02:00

21 lines
391 B
C#

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();
}
}