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