Scroll to navigation

SDL_LogSetOutputFunction(3) SDL3 FUNCTIONS SDL_LogSetOutputFunction(3)

NAME

SDL_LogSetOutputFunction - Replace the default log output function with one of your own.

SYNOPSIS

#include "SDL3/SDL.h"
void SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata);

FUNCTION PARAMETERS

an SDL_LogOutputFunction
to call instead of the default
a pointer that is passed to callback

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_LogGetOutputFunction(3)

SDL 3.0.0 SDL