This commit is contained in:
gongxh
2022-05-11 15:20:00 +08:00
parent 041ecb2da2
commit 2a9a10cb46
11 changed files with 678 additions and 11 deletions

View File

@@ -59,6 +59,7 @@ namespace NX_LogUtility
string filePath = strDir2 + fileDate + "_" + logType + ".log";
string DateString = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
string Str = "发生时间:" + DateString + "|" + Txt + "\r\n";
Console.WriteLine(Str);
WriteFile(strDir2, filePath, Str);
}