Replace the default log output function with one of your own.
void SDL_SetLogOutputFunction(SDL_LogOutputFunction callback, void *userdata);
callback
This function is available since SDL 3.0.0.
CategoryAPI