add startup boundary to log

This commit is contained in:
bao-qian 2016-11-30 01:15:15 +00:00
parent 4a375b6563
commit 1432866798

View File

@ -39,6 +39,7 @@ namespace Wox
{ {
Stopwatch.Normal("Startup Time", () => Stopwatch.Normal("Startup Time", () =>
{ {
Log.Info("-------------------------- Begin Wox startup --------------------------");
RegisterDispatcherUnhandledException(); RegisterDispatcherUnhandledException();
var settingVM = new SettingWindowViewModel(); var settingVM = new SettingWindowViewModel();
@ -61,6 +62,7 @@ namespace Wox
AutoUpdates(); AutoUpdates();
mainVM.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible; mainVM.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible;
Log.Info("-------------------------- End Wox startup --------------------------");
}); });
} }