Esempio n. 1
0
 public void WritExceptionLogTest()
 {
     try
     {
         string[] s = new string[1];
         string   x = s[12];
     }
     catch (Exception ex)
     {
         string Temp_strLog = Environment.CurrentDirectory + "/test.log";
         Assert.IsTrue(LogWrite.WritExceptionLog("123", ex, Temp_strLog));
     }
 }