1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Logging cleanup

This commit is contained in:
AlexVinS
2017-08-10 19:39:27 +03:00
parent 18b8e1c7ad
commit 61e241308d
52 changed files with 188 additions and 188 deletions

View File

@@ -270,7 +270,7 @@ void CMapGenOptions::finalize(CRandomGenerator & rand)
//setHeight(20);
//setWidth(50);
logGlobal->traceStream() << "Player config:";
logGlobal->trace("Player config:");
int humanPlayers = 0, cpuOnlyPlayers = 0, AIplayers = 0;
for (auto player : players)
{
@@ -378,7 +378,7 @@ PlayerColor CMapGenOptions::getNextPlayerColor() const
return i;
}
}
logGlobal->errorStream() << "Failed to get next player color";
logGlobal->error("Failed to get next player color");
assert(false);
return PlayerColor(0);
}