(SDL3バージョンはSDL3/SDL_SetLogOutputFunctionを参照すること)
void SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void* userdata)