Scroll to navigation

SDL_SetLogPriority(3) SDL3 FUNCTIONS SDL_SetLogPriority(3)

NAME

SDL_SetLogPriority - Set the priority of a particular log category.

SYNOPSIS

#include <SDL3/SDL_log.h>
void SDL_SetLogPriority(int category, SDL_LogPriority priority);

FUNCTION PARAMETERS

the category to assign a priority to.
the SDL_LogPriority to assign.

THREAD SAFETY

It is safe to call this function from any thread.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

SDL_GetLogPriority(3), SDL_ResetLogPriorities(3), SDL_SetLogPriorities(3)

SDL 3.2.14 Simple Directmedia Layer