Log: Simplify macros

This commit is contained in:
Stenzek
2024-05-23 20:55:28 +10:00
parent 792717e03e
commit 4e922a34a7
144 changed files with 2273 additions and 2363 deletions

View File

@ -122,7 +122,7 @@ bool INISettingsInterface::Save(Error* error /* = nullptr */)
if (err != SI_OK)
{
Log_WarningFmt("Failed to save settings to '{}'.", m_filename);
WARNING_LOG("Failed to save settings to '{}'.", m_filename);
return false;
}
@ -363,7 +363,7 @@ std::vector<std::pair<std::string, std::string>> INISettingsInterface::GetKeyVal
{
if (!m_ini.GetAllValues(section, key.pItem, values)) // [[unlikely]]
{
Log_ErrorPrint("Got no values for a key returned from GetAllKeys!");
ERROR_LOG("Got no values for a key returned from GetAllKeys!");
continue;
}
for (const Entry& value : values)