mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
log warnings and information as verbose
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user