From 2498dd4959d15a08b2dd6c6baaf08c838921ed1f Mon Sep 17 00:00:00 2001 From: xxe Date: Fri, 18 Nov 2022 14:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HKCardOUT/Bootstrapper.cs | 1 - HKCardOUT/Views/RootView.xaml.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HKCardOUT/Bootstrapper.cs b/HKCardOUT/Bootstrapper.cs index ae09f3b..9953b94 100644 --- a/HKCardOUT/Bootstrapper.cs +++ b/HKCardOUT/Bootstrapper.cs @@ -48,7 +48,6 @@ namespace HKCardOUT } Thread.Sleep(3000); }), "循环状态监测线程", false); - HKLogImport.Init("HKCardOUT"); } protected override void ConfigureIoC(IStyletIoCBuilder builder) diff --git a/HKCardOUT/Views/RootView.xaml.cs b/HKCardOUT/Views/RootView.xaml.cs index 9524e6c..15a0fb0 100644 --- a/HKCardOUT/Views/RootView.xaml.cs +++ b/HKCardOUT/Views/RootView.xaml.cs @@ -1,6 +1,7 @@ using BPA.Helper; using Helper; using HKCardOUT.ViewModels; +using HKLog; using System; using System.IO; using System.Linq; @@ -16,6 +17,7 @@ namespace HKCardOUT.Views { public RootView() { + HKLogImport.Init("HKCardOUT"); InitializeComponent(); MessageLog.GetInstance.NotifyShow = new Action((s) => {