Add a title to SaveLog

This commit is contained in:
2dust
2025-01-03 15:02:31 +08:00
parent 5392766c5e
commit 3db1dd7bbb
27 changed files with 135 additions and 106 deletions
@@ -2,6 +2,7 @@
{
public static class SysProxyHandler
{
private static readonly string _tag = "SysProxyHandler";
public static async Task<bool> UpdateSysProxy(Config config, bool forceDisable)
{
var type = config.SystemProxyItem.SysProxyType;
@@ -59,7 +60,7 @@
}
catch (Exception ex)
{
Logging.SaveLog(ex.Message, ex);
Logging.SaveLog(_tag, ex);
}
return true;
}