This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Roblox.RccServiceArbiter
{
internal static class Log
{
static StreamWriter log;
static Log()
{
if (Properties.Settings.Default.LogTransactions)
{
log = new StreamWriter(String.Format("C:\\arbiter-log{0}.txt", Guid.NewGuid().ToString()));
}
}
static internal void Event(string message)
{
if (log != null)
{
lock (log)
{
log.WriteLine(String.Format("{0} - {1}", DateTime.Now.ToString(), message));
log.Flush();
}
}
}
}
}