logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_LogMessage - Log a message with the specified category and priority.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

category
              the category of the message.

       priority
              the priority of the message.

       fmt    a printf() style message format string.

       ...    additional parameters matching % tokens in the fmt string, if any.

Name

       SDL_LogMessage - Log a message with the specified category and priority.

See Also

SDL_Log(3),  SDL_LogCritical(3),  SDL_LogDebug(3),  SDL_LogError(3),  SDL_LogInfo(3), SDL_LogMessageV(3),
       SDL_LogTrace(3), SDL_LogVerbose(3), SDL_LogWarn(3)

Simple Directmedia Layer                           SDL 3.2.20                                  SDL_LogMessage(3)

Synopsis

#include<SDL3/SDL_log.h>voidSDL_LogMessage(intcategory,SDL_LogPrioritypriority,constchar*fmt,...);

Thread Safety

       It is safe to call this function from any thread.

See Also