Skip to content

Commit b519313

Browse files
committed
Adjust log debug location
1 parent 40d2d58 commit b519313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ private async void OnStartup(object sender, StartupEventArgs e)
138138
{
139139
await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
140140
{
141-
Log.SetLogLevel(_settings.LogLevel);
142-
143141
Ioc.Default.GetRequiredService<Portable>().PreStartCleanUpAfterPortabilityUpdate();
144142

145143
Log.Info("|App.OnStartup|Begin Flow Launcher startup ----------------------------------------------------");
146144
Log.Info($"|App.OnStartup|Runtime info:{ErrorReporting.RuntimeInfo()}");
147145

146+
Log.SetLogLevel(_settings.LogLevel);
147+
148148
RegisterAppDomainExceptions();
149149
RegisterDispatcherUnhandledException();
150150

0 commit comments

Comments
 (0)