moved Log, Stopwatch to FileFormats. Added Support/Timer.

This commit is contained in:
Bob
2010-01-22 15:12:25 +13:00
parent cba37055e5
commit 8fd0e35d16
5 changed files with 75 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
using System.IO;
namespace OpenRa
{
public 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);
}
}
}