Debug修改为Debugging

croire 3 years ago
parent c63597efbd
commit 5a58a2e284

@ -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);
}
});

@ -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<MessageEvent>().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;
}

@ -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;

Loading…
Cancel
Save