1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Moved boost:format log proxy to CLoggerBase

This commit is contained in:
AlexVinS
2016-08-12 19:20:57 +03:00
parent 599f4cfb55
commit 74a82c4c9d
6 changed files with 69 additions and 96 deletions

View File

@@ -78,14 +78,14 @@ const PlayerState * CGameInfoCallback::getPlayer(PlayerColor color, bool verbose
else
{
if (verbose)
vstd::logError(logGlobal, "Cannot access player %d info!", color);
logGlobal->error("Cannot access player %d info!", color);
return nullptr;
}
}
else
{
if (verbose)
vstd::logError(logGlobal, "Cannot find player %d info!", color);
logGlobal->error("Cannot find player %d info!", color);
return nullptr;
}
}
@@ -842,7 +842,7 @@ const TeamState * CGameInfoCallback::getTeam( TeamID teamID ) const
}
else
{
vstd::logError(logGlobal, "Cannot find info for team %d", teamID);
logGlobal->error("Cannot find info for team %d", teamID);
return nullptr;
}
}