SDL_SetLogOutputFunction3
Replace the default log output function with one of your own.
Usage
#include "SDL3/SDL.h"
void SDL_SetLogOutputFunction(SDL_LogOutputFunction callback, void *userdata);
Header file
Defined in SDL3/SDL_log.h
Function parameters
callback
|
an |
|---|---|
userdata
|
a pointer that is passed to |
Thread safety
It is safe to call this function from any thread.