Migrate force_log_printf to new logging (#714)

This commit is contained in:
why-keith 2023-04-12 15:31:34 +01:00 committed by GitHub
parent 072c18a6e3
commit 4be57f4896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 401 additions and 399 deletions

View file

@ -1276,7 +1276,7 @@ void GeneralSettings2::OnAccountDelete(wxCommandEvent& event)
catch(const std::exception& ex)
{
SystemException sys(ex);
forceLog_printf((char*)sys.what());
cemuLog_log(LogType::Force, sys.what());
}
}
@ -1743,7 +1743,7 @@ void GeneralSettings2::UpdateAudioDevice()
}
catch (std::runtime_error& ex)
{
forceLog_printf("can't initialize tv audio: %s", ex.what());
cemuLog_log(LogType::Force, "can't initialize tv audio: {}", ex.what());
}
}
}
@ -1792,7 +1792,7 @@ void GeneralSettings2::UpdateAudioDevice()
}
catch (std::runtime_error& ex)
{
forceLog_printf("can't initialize pad audio: %s", ex.what());
cemuLog_log(LogType::Force, "can't initialize pad audio: {}", ex.what());
}
}
}
@ -1840,7 +1840,7 @@ void GeneralSettings2::UpdateAudioDevice()
}
catch (std::runtime_error& ex)
{
forceLog_printf("can't initialize pad audio: %s", ex.what());
cemuLog_log(LogType::Force, "can't initialize pad audio: {}", ex.what());
}
}
}