MCPcopy Create free account
hub / github.com/assimp/assimp / warn

Method warn

code/Common/DefaultLogger.cpp:198–205  ·  view source on GitHub ↗

----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

196
197// ----------------------------------------------------------------------------------
198void Logger::warn(const char *message) {
199
200 // SECURITY FIX: see above
201 if (strlen(message) > MAX_LOG_MESSAGE_LENGTH) {
202 return OnWarn("<fixme: long message discarded>");
203 }
204 return OnWarn(message);
205}
206
207// ----------------------------------------------------------------------------------
208void Logger::error(const char *message) {

Callers 3

_import_moduleFunction · 0.80
InternReadFileMethod · 0.80
ImportMeshesMethod · 0.80

Calls 1

OnWarnFunction · 0.85

Tested by

no test coverage detected