MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / LogError

Method LogError

src/openrct2/object/ObjectFactory.cpp:203–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 void LogError(ObjectError code, const utf8* text) override
204 {
205 _wasError = true;
206
207 if (!String::isNullOrEmpty(text))
208 {
209 Console::Error::WriteLine("[%s] Error (%d): %s", _identifier.c_str(), code, text);
210 }
211 }
212 };
213} // namespace OpenRCT2
214

Callers 14

ReadLegacyMethod · 0.45
ReadLegacyMethod · 0.45
ParseTracksMethod · 0.45
ReadLegacyMethod · 0.45
ReadLegacyMethod · 0.45
ReadObjectLegacyFunction · 0.45
ReadJsonEntriesMethod · 0.45
ReadMethod · 0.45
ReadLegacyMethod · 0.45
ReadJsonMethod · 0.45
ReadJsonCarMethod · 0.45
ReadLegacyMethod · 0.45

Calls 2

isNullOrEmptyFunction · 0.85
WriteLineFunction · 0.85

Tested by

no test coverage detected