SDL_SetLogOutputFunction

Replace the default log output function with one of your own.

extern (C) nothrow @nogc
void
SDL_SetLogOutputFunction

Parameters

callback SDL_LogOutputFunction

an SDL_LogOutputFunction to call instead of the default.

userdata void*

a pointer that is passed to callback.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta