pub unsafe extern "C" fn SDL_SetLogOutputFunction(
callback: SDL_LogOutputFunction,
userdata: *mut c_void,
)Expand description
Replace the default log output function with one of your own.
§Parameters
callback: anSDL_LogOutputFunctionto call instead of the default.userdata: a pointer that is passed tocallback.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.