Esempio n. 1
0
 private void LogClusterDecision(CommandCenter c, CommandCArgs e)
 {
     if (Enabled && Started)
     {
         StrW.WriteLine(e.GetStringData());
     }
 }
Esempio n. 2
0
 private void LogString(CommandCenter c, CommandCArgs e)
 {
     if (Enabled)
     {
         try
         {
             StreamWriter STemp = new StreamWriter(path, true);
             STemp.WriteLine(e.GetStringData());
             STemp.Flush();
             STemp.Close();
         }
         catch { }
     }
 }