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

Method LogWarning

src/openrct2/object/ObjectFactory.cpp:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192
193 void LogWarning(ObjectError code, const utf8* text) override
194 {
195 _wasWarning = true;
196
197 if (!String::isNullOrEmpty(text))
198 {
199 Console::Error::WriteLine("[%s] Warning (%d): %s", _identifier.c_str(), code, text);
200 }
201 }
202
203 void LogError(ObjectError code, const utf8* text) override
204 {

Callers 5

ParseImagesMethod · 0.45
LoadObjectImagesMethod · 0.45
ReadMethod · 0.45
ReadJsonMethod · 0.45

Calls 2

isNullOrEmptyFunction · 0.85
WriteLineFunction · 0.85

Tested by

no test coverage detected