The prototype for the log output callback function.
Defined in SDL_log.h
typedef void (SDLCALL *SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message);
userdata | what was passed as userdata to SDL_LogSetOutputFunction() |
category | the category of the message |
priority | the priority of the message |
message | the message being output |
This function is called by SDL when there is new text to be logged.
CategoryAPI, CategoryAPIDatatype