Self

SDL_LogSetOutputFunction

Use this function to replace the default log output function with one of your own.

Syntax

void SDL_LogSetOutputFunction(SDL_LogOutputFunction callback,
                              void*                 userdata)

Function Parameters

callback

the function to call instead of the default; see Remarks for details

userdata

a pointer that is passed to callback

Code Examples

You can add your code example here

Remarks

The function prototype for callback is:


CategoryAPI, CategoryLog

None: SDL_LogSetOutputFunction (last edited 2014-01-06 18:15:19 by JonathanDearborn)