Log a message with SDL_LOG_PRIORITY_ERROR.
void SDL_LogError(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
This function is available since SDL 3.0.0.
CategoryAPI, CategoryLog