SDL_LogMessage(3)

SDL_LogMessage3

Log a message with the specified category and priority.

Usage

#include "SDL3/SDL.h"

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

Header file

Defined in SDL3/SDL_log.h

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.