Cosmos/source2/Users/Orvid/PlugViewer/Log.cs
2011-08-16 02:46:07 +00:00

24 lines
578 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace PlugViewer
{
public static class Log
{
private static StreamWriter streamWriter = new StreamWriter(System.Windows.Forms.Application.StartupPath + "\\analysis.txt");
public static void WriteLine(string s)
{
streamWriter.WriteLine(s);
}
public static void Close()
{
streamWriter.Flush();
streamWriter.Close();
streamWriter.Dispose();
}
}
}