Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GetLogOutputFunction - Get the current log output function.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

callback
              an SDL_LogOutputFunction filled in with the current log callback.

       userdata
              a pointer filled in with the pointer that is passed to callback.

Name

       SDL_GetLogOutputFunction - Get the current log output function.

See Also

SDL_GetDefaultLogOutputFunction(3), SDL_SetLogOutputFunction(3)

Simple Directmedia Layer                           SDL 3.2.20                        SDL_GetLogOutputFunction(3)

Synopsis

#include<SDL3/SDL_log.h>voidSDL_GetLogOutputFunction(SDL_LogOutputFunction*callback,void**userdata);

Thread Safety

       It is safe to call this function from any thread.

See Also