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

SDL_SetLogPriority - Set the priority of a particular log category.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

category
              the category to assign a priority to.

       priority
              the SDL_LogPriority to assign.

Name

       SDL_SetLogPriority - Set the priority of a particular log category.

See Also

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

Simple Directmedia Layer                           SDL 3.2.20                              SDL_SetLogPriority(3)

Synopsis

#include<SDL3/SDL_log.h>voidSDL_SetLogPriority(intcategory,SDL_LogPrioritypriority);

Thread Safety

       It is safe to call this function from any thread.

See Also