mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Finished conversion to new logging API
* removed logger streams * (float3|int3)::operator() -> (float3|int3)::toString(), it was too ugly and confusing.
This commit is contained in:
@@ -433,14 +433,14 @@ void CGPandoraBox::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
const int rawId = vstd::find_pos(NSecondarySkill::names, id);
|
||||
if(rawId < 0)
|
||||
{
|
||||
logGlobal->errorStream() << "Invalid secondary skill " << id;
|
||||
logGlobal->error("Invalid secondary skill %s", id);
|
||||
continue;
|
||||
}
|
||||
|
||||
const int level = vstd::find_pos(NSecondarySkill::levels, levelId);
|
||||
if(level < 0)
|
||||
{
|
||||
logGlobal->errorStream() << "Invalid secondary skill level" << levelId;
|
||||
logGlobal->error("Invalid secondary skill level%s", levelId);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user