Replace the default log output function with one of your own.
Defined in <SDL3/SDL_log.h>
callback | an SDL_LogOutputFunction to call instead of the default |
userdata | a pointer that is passed to callback |
This function is available since SDL 3.0.0.