日志重写

This commit is contained in:
a88359121
2025-07-31 11:04:47 +08:00
parent a803360523
commit 941564d8a4
28 changed files with 325 additions and 399 deletions
+2 -2
View File
@@ -362,7 +362,7 @@ namespace LargeSquareOne
}
catch (Exception ex)
{
LogHelper.Instance.WriteEX(ex);
LoggerHelp.WriteEX(ex);
}
}
@@ -998,7 +998,7 @@ namespace LargeSquareOne
private void LoginLocalOut()
{
CommonMethods.AddOPLog(false, $"退出成功,退出用户:{CommonMethods.currentAdmin?.LoginName},权限:{CommonMethods.currentAdmin?.LoginLevel}");
LogHelper.Instance.WriteLog($"用户:" + CommonMethods.currentAdmin?.LoginName + "-退出");
LoggerHelp.WriteLog($"用户:" + CommonMethods.currentAdmin?.LoginName + "-退出");
CommonMethods.LoginOut = true;
}