Beispiel #1
0
 public static void Out(string strMsg)
 {
     if (bSave)
     {
         StoreToFile.Out(strMsg, strPathFile);
     }
 }
Beispiel #2
0
 public static void Out(string strMsg)
 {
     if (bSave)
     {
         DateTime dt = DateTime.Now;
         String strMillSecd = String.Format("{0:D3}", dt.Millisecond);
         String strNewMsg = dt.ToShortDateString() + " "
                 + dt.ToLongTimeString() + "." + strMillSecd + ": " + strMsg;
         StoreToFile.Out(strNewMsg, strPathFile);
     }
 }