Enable crash stack dumps into logs for Windows.

This commit is contained in:
Julien Wadel 2022-10-12 15:09:49 +02:00
parent ac2b0f0424
commit 4d4f278a8c
2 changed files with 4 additions and 1 deletions

View file

@ -201,6 +201,9 @@ void Logger::init (const shared_ptr<linphone::Config> &config) {
loggingService->setDomain(Constants::QtDomain);
loggingService->setLogLevel(linphone::LogLevel::Message);
loggingService->addListener(make_shared<LinphoneLogger>(mInstance));
#ifdef _WIN32
loggingService->enableStackTraceDumps(true);
#endif
}
linphone::Core::setLogCollectionPrefix(EXECUTABLE_NAME);

@ -1 +1 @@
Subproject commit 5ebda5ff90702771017985b733dcaf107a8b5707
Subproject commit 016af4af95eb25d6e80380ad76776218b8a42bc0