diff --git a/DownKyi/ViewModels/Toolbox/ViewBiliHelperViewModel.cs b/DownKyi/ViewModels/Toolbox/ViewBiliHelperViewModel.cs index 42348b2..cff240b 100644 --- a/DownKyi/ViewModels/Toolbox/ViewBiliHelperViewModel.cs +++ b/DownKyi/ViewModels/Toolbox/ViewBiliHelperViewModel.cs @@ -124,7 +124,7 @@ namespace DownKyi.ViewModels.Toolbox { UserMid = null; - Core.Utils.Debug.Console.PrintLine("FindDanmakuSenderCommand()发生异常: {0}", e); + Core.Utils.Debugging.Console.PrintLine("FindDanmakuSenderCommand()发生异常: {0}", e); LogManager.Error(Tag, e); } }); diff --git a/DownKyi/ViewModels/ViewLoginViewModel.cs b/DownKyi/ViewModels/ViewLoginViewModel.cs index 86965d6..b0edff4 100644 --- a/DownKyi/ViewModels/ViewLoginViewModel.cs +++ b/DownKyi/ViewModels/ViewLoginViewModel.cs @@ -116,7 +116,7 @@ namespace DownKyi.ViewModels } PropertyChangeAsync(new Action(() => { LoginQRCode = LoginQR.GetLoginQRCode(loginUrl.Data.Url); })); - Core.Utils.Debug.Console.PrintLine(loginUrl.Data.Url + "\n"); + Core.Utils.Debugging.Console.PrintLine(loginUrl.Data.Url + "\n"); LogManager.Debug(Tag, loginUrl.Data.Url); GetLoginStatus(loginUrl.Data.OauthKey); @@ -135,7 +135,7 @@ namespace DownKyi.ViewModels var loginStatus = LoginQR.GetLoginStatus(oauthKey); if (loginStatus == null) { continue; } - Core.Utils.Debug.Console.PrintLine(loginStatus.Code + "\n" + loginStatus.Message + "\n" + loginStatus.Url + "\n"); + Core.Utils.Debugging.Console.PrintLine(loginStatus.Code + "\n" + loginStatus.Message + "\n" + loginStatus.Url + "\n"); switch (loginStatus.Code) { @@ -195,7 +195,7 @@ namespace DownKyi.ViewModels } catch (Exception e) { - Core.Utils.Debug.Console.PrintLine("PageLogin 保存登录信息发生异常: {0}", e); + Core.Utils.Debugging.Console.PrintLine("PageLogin 保存登录信息发生异常: {0}", e); LogManager.Error(e); eventAggregator.GetEvent().Publish(DictionaryResource.GetString("LoginFailed")); } @@ -212,7 +212,7 @@ namespace DownKyi.ViewModels // 判断是否该结束线程,若为true,跳出while循环 if (cancellationToken.IsCancellationRequested) { - Core.Utils.Debug.Console.PrintLine("停止Login线程,跳出while循环"); + Core.Utils.Debugging.Console.PrintLine("停止Login线程,跳出while循环"); LogManager.Debug(Tag, "登录操作结束"); break; } diff --git a/DownKyi/ViewModels/ViewVideoDetailViewModel.cs b/DownKyi/ViewModels/ViewVideoDetailViewModel.cs index b7d4940..2eb6d7b 100644 --- a/DownKyi/ViewModels/ViewVideoDetailViewModel.cs +++ b/DownKyi/ViewModels/ViewVideoDetailViewModel.cs @@ -196,7 +196,7 @@ namespace DownKyi.ViewModels } catch (Exception e) { - Core.Utils.Debug.Console.PrintLine("InputCommand()发生异常: {0}", e); + Core.Utils.Debugging.Console.PrintLine("InputCommand()发生异常: {0}", e); LogManager.Error(Tag, e); LoadingVisibility = Visibility.Collapsed; @@ -355,7 +355,7 @@ namespace DownKyi.ViewModels } catch (Exception e) { - Core.Utils.Debug.Console.PrintLine("ParseCommand()发生异常: {0}", e); + Core.Utils.Debugging.Console.PrintLine("ParseCommand()发生异常: {0}", e); LogManager.Error(Tag, e); LoadingVisibility = Visibility.Collapsed; @@ -462,7 +462,7 @@ namespace DownKyi.ViewModels } catch (Exception e) { - Core.Utils.Debug.Console.PrintLine("ParseCommand()发生异常: {0}", e); + Core.Utils.Debugging.Console.PrintLine("ParseCommand()发生异常: {0}", e); LogManager.Error(Tag, e); LoadingVisibility = Visibility.Collapsed;