mirror of https://github.com/OpenRCT2/OpenRCT2.git
log warnings and information as verbose
This commit is contained in:
parent
853e002b4f
commit
0a5ce82632
|
@ -68,7 +68,7 @@ public:
|
|||
|
||||
if (!String::IsNullOrEmpty(text))
|
||||
{
|
||||
Console::Error::WriteLine("[%s] Warning: %s", _objectName, text);
|
||||
log_verbose("[%s] Warning: %s", _objectName, text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ public:
|
|||
UpdateLegacyLoadedObjectList();
|
||||
UpdateSceneryGroupIndexes();
|
||||
reset_type_to_ride_entry_index_map();
|
||||
// Console::WriteLine("%u / %u new objects loaded", numNewLoadedObjects, numRequiredObjects);
|
||||
log_verbose("%u / %u new objects loaded", numNewLoadedObjects, numRequiredObjects);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -320,7 +320,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
// Console::WriteLine("%u / %u objects unloaded", numObjectsUnloaded, totalObjectsLoaded);
|
||||
log_verbose("%u / %u objects unloaded", numObjectsUnloaded, totalObjectsLoaded);
|
||||
}
|
||||
|
||||
void UpdateLegacyLoadedObjectList()
|
||||
|
|
|
@ -214,7 +214,7 @@ public:
|
|||
utf8 path[MAX_PATH];
|
||||
GetPathForNewObject(path, sizeof(path), objectName);
|
||||
|
||||
Console::WriteLine("Adding object: [%s]", objectName);
|
||||
log_verbose("Adding object: [%s]", objectName);
|
||||
try
|
||||
{
|
||||
SaveObject(path, objectEntry, data, dataSize);
|
||||
|
@ -222,7 +222,7 @@ public:
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console::WriteLine("Failed saving object: [%s] to '%s'.", objectName, path);
|
||||
Console::Error::WriteLine("Failed saving object: [%s] to '%s'.", objectName, path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue