Files
OpenRA/OpenRa.Game/Support/Log.cs
2010-01-17 09:30:53 +13:00

20 lines
301 B
C#

using System.IO;
namespace OpenRa
{
static class Log
{
static StreamWriter writer = File.CreateText("log.txt");
static Log()
{
writer.AutoFlush = true;
}
public static void Write(string format, params object[] args)
{
writer.WriteLine(format, args);
}
}
}