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) => {