SDL_LogMessage - Man Page

Log a message with the specified category and priority.

Header File

Defined in SDL3/SDL_log.h

Synopsis

#include "SDL3/SDL.h"

void SDL_LogMessage(int category,
                SDL_LogPriority priority,
                const char *fmt, ...);

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.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

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

Referenced By

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).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS