log warnings and information as verbose

This commit is contained in:
Ted John 2016-07-10 16:34:54 +01:00
parent 853e002b4f
commit 0a5ce82632
3 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ public:
if (!String::IsNullOrEmpty(text))
{
Console::Error::WriteLine("[%s] Warning: %s", _objectName, text);
log_verbose("[%s] Warning: %s", _objectName, text);
}
}

View File

@ -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()

View File

@ -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);
}
}
}