---
name: "SDL_LogMessageV"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_LogMessageV"
---

# SDL\_LogMessageV(3)

Log a message with the specified category and priority.

## NAME

SDL\_LogMessageV - Log a message with the specified category and priority.

## HEADER FILE

Defined in SDL3/SDL\_log.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_LogMessageV(int category,**                  **SDL\_LogPriority priority,**                  **const char \*fmt, va\_list ap);**

## FUNCTION PARAMETERS

- *category*

  the category of the message.

- *priority*

  the priority of the message.

- *fmt*

  a printf() style message format string.

- *ap*

  a variable argument list.

## 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)](/SDL_Log/3.md), **•**(3), [**SDL\_LogCritical**(3)](/SDL_LogCritical/3.md), **•**(3), [**SDL\_LogDebug**(3)](/SDL_LogDebug/3.md), **•**(3), [**SDL\_LogError**(3)](/SDL_LogError/3.md), **•**(3), [**SDL\_LogInfo**(3)](/SDL_LogInfo/3.md), **•**(3), [**SDL\_LogMessage**(3)](/SDL_LogMessage/3.md), **•**(3), [**SDL\_LogTrace**(3)](/SDL_LogTrace/3.md), **•**(3), [**SDL\_LogVerbose**(3)](/SDL_LogVerbose/3.md), **•**(3), [**SDL\_LogWarn**(3)](/SDL_LogWarn/3.md)
