add:debug功能

This commit is contained in:
2026-05-01 00:27:29 +08:00
parent b0aff1e378
commit 4d8fbef455
8 changed files with 185 additions and 2 deletions
+1
View File
@@ -83,6 +83,7 @@ namespace Ink_Canvas.Helpers
}
}
string logLine = string.Format("{0} [T{1}] [{2}] [{3}] {4}", DateTime.Now.ToString("O"), threadId, strLogType, callerInfo, str);
DebugConsoleManager.WriteLine(logLine);
ProcessProtectionManager.WithWriteAccess(file, () =>
{
using (StreamWriter sw = new StreamWriter(file, true))