mirror of
https://github.com/ultrasn0w/app.git
synced 2025-12-13 12:19:54 +01:00
21 lines
391 B
C#
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();
|
|
}
|
|
}
|