SDL_LogOutputFunction3type
The prototype for the log output callback function.
Usage
#include "SDL3/SDL.h"
typedef void (SDLCALL *SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message);
Header file
Defined in SDL3/SDL_log.h
Overview
This function is called by SDL when there is new text to be logged. A mutex is held so that this function is never called by more than one thread at once.
Function parameters
userdata
|
what was passed as |
|---|---|
category
|
the category of the message. |
priority
|
the priority of the message. |
message
|
the message being output. |