コード例 #1
0
 public static void LogInformation(String p_Message)
 {
     Log("Information ----------" + F_Time.DateTime2String_yyyy_MM_dd_HH_mm_ss(DateTime.Now) + "----------\n" +
         "{\n" +
         "    " + p_Message +
         "\n}" +
         "\n"
         , "LogInformation.txt");
 }
コード例 #2
0
 //
 public static void LogError(Exception e)
 {
     Log("----------" + F_Time.DateTime2String_yyyy_MM_dd_HH_mm_ss(DateTime.Now) + "----------\n" +
         "{\n" +
         e.StackTrace +
         "\n}" +
         "\n"
         , "LogError.txt");
     Console.Beep();
 }