Revert "Adjust log debug location"

This reverts commit b519313c25.
This commit is contained in:
Jack251970 2025-03-28 14:49:28 +08:00
parent 8269304f4e
commit 91e2366c49

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();