---
name: "SDL_LogDebug"
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_LogDebug"
---

# SDL\_LogDebug(3)

Log a message with SDL\_LOG\_PRIORITY\_DEBUG .

## NAME

SDL\_LogDebug - Log a message with  **SDL\_LOG\_PRIORITY\_DEBUG** .

## HEADER FILE

Defined in SDL3/SDL\_log.h

## SYNOPSIS

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

**void SDL\_LogDebug(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

**•**(3), [**SDL\_Log**(3)](/SDL_Log/3.md), **•**(3), [**SDL\_LogCritical**(3)](/SDL_LogCritical/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\_LogMessageV**(3)](/SDL_LogMessageV/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)
