From 68025448b62c64a4e4b24439d18c77735e2df423 Mon Sep 17 00:00:00 2001 From: croire <1432593898@qq.com> Date: Tue, 22 Mar 2022 12:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=AE=A1=E7=90=86=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E5=BC=82=E5=B8=B8log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DownKyi.Core/Settings/SettingsManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DownKyi.Core/Settings/SettingsManager.cs b/DownKyi.Core/Settings/SettingsManager.cs index a5da781..d44485c 100644 --- a/DownKyi.Core/Settings/SettingsManager.cs +++ b/DownKyi.Core/Settings/SettingsManager.cs @@ -71,7 +71,8 @@ namespace DownKyi.Core.Settings } catch (Exception e) { - Logging.LogManager.Error(e); + Utils.Debugging.Console.PrintLine("GetSettings()发生异常: {0}", e); + Logging.LogManager.Error("SettingsManager", e); return new AppSettings(); } } @@ -97,7 +98,8 @@ namespace DownKyi.Core.Settings } catch (Exception e) { - Logging.LogManager.Error(e); + Utils.Debugging.Console.PrintLine("SetSettings()发生异常: {0}", e); + Logging.LogManager.Error("SettingsManager", e); return false; } }