The prototype for the log output callback function.
Defined in <SDL3/SDL_log.h>
userdata | what was passed as userdata to SDL_SetLogOutputFunction() |
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.
This datatype is available since SDL 3.0.0.