コード例 #1
0
 /// <summary>
 /// Initialize logging into file.
 /// </summary>
 /// <param name="filename">Filename to write to.</param>
 public void InitFile(String filename)
 {
     this.response = null;
     this.fileName = filename;
     if (filename.Length != 0)
     {
         if (Helper.FileExists(filename))
         {
             Helper.DeleteFile(filename);
         }
     }
 }