Adjust log debug location

This commit is contained in:
Jack251970 2025-03-28 14:32:03 +08:00
parent 40d2d58406
commit b519313c25

View file

@ -138,13 +138,13 @@ namespace Flow.Launcher
{
await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
{
Log.SetLogLevel(_settings.LogLevel);
Ioc.Default.GetRequiredService<Portable>().PreStartCleanUpAfterPortabilityUpdate();
Log.Info("|App.OnStartup|Begin Flow Launcher startup ----------------------------------------------------");
Log.Info($"|App.OnStartup|Runtime info:{ErrorReporting.RuntimeInfo()}");
Log.SetLogLevel(_settings.LogLevel);
RegisterAppDomainExceptions();
RegisterDispatcherUnhandledException();