SDL_LogError - Man Page

Log a message with SDL_LOG_PRIORITY_ERROR.

Synopsis

#include <SDL3/SDL_log.h>

void SDL_LogError(int category, const char *fmt, ...);

Function Parameters

category

the category 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

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

Referenced By

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

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS