20 lines
308 B
C#
Executable File
20 lines
308 B
C#
Executable File
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);
|
|
}
|
|
}
|
|
}
|