Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 305 Bytes
using System;
using System.IO;
class debug {
static StreamWriter log = File.CreateText ("log");
static public void print (string msg)
{
log.WriteLine (msg);
log.Flush ();
}
static public void print (string format, params object [] args)
{
log.WriteLine (format, args);
log.Flush ();
}
}