csharp Log to a file
using System.IO; public void LogToFile(string Message) { StreamWriter file = new StreamWriter(Properties.Settings.Default.LogFile, true); file.WriteLine(Message); file.Close(); }
Logs a string to a text file.
Updated: Saturday 9th October 2010, 10:08pm
There are 0 comments
Comments are currently closed.