예제 #1
0
 public static void DoDefaultRecord(string Text)//追加式
 {
     writer = new StreamWriter(DefaultRecordPath, true);
     writer.WriteLine((MyTime.GetNowTimeCode(1) + " >>> " + Text).Replace("\n", Environment.NewLine));
     writer.Close();
 }
예제 #2
0
 public static void CreateUniqueRecordFile(string Text)
 {
     writer = new StreamWriter(RecordsDirPath + "\\" + MyTime.GetNowTimeCode() + ".txt", false);
     writer.Write(Text.Replace("\n", Environment.NewLine));
     writer.Close();
 }