Replace the default log output function with one of your own.
Defined in SDL_log.h
void SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata);
SDL_LogOutputFunction | callback | an SDL_LogOutputFunction to call instead of the default. |
void * | userdata | a pointer that is passed to callback . |
This function is available since SDL 2.0.0.