Hi Everyone , How to print message in console with c++, CryLog don’t work.
In Lua, there is Debug.log, how to do this in c++?
From ScriptContext.cpp line 5184. They use AZ_Printf to print out to the console.
switch (error)
{
case ScriptContext::ErrorType::Error:
AZ_Error("Script", false, "%s", message);
break;
case ScriptContext::ErrorType::Warning:
AZ_Warning("Script", false, "%s", message);
break;
case ScriptContext::ErrorType::Log:
AZ_Printf("Script", "%s", message);
break;
}