Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nats-ji committed Oct 27, 2023
1 parent 79ceeba commit 846210f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Installer/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ static void Initialize()
}

spdlog::set_default_logger(CreateLogger());
spdlog::flush_on(spdlog::level::info);
Installer::Initialize();
}
catch (...)
Expand All @@ -23,6 +24,7 @@ static void Initialize()
static void Shutdown()
{
Installer::Shutdown();
spdlog::shutdown();
}

BOOL APIENTRY DllMain( HMODULE hModule,
Expand Down

0 comments on commit 846210f

Please sign in to comment.