SDL_LogDebug(3)
π SDL_LogDebug(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, this one's called SDL_LogDebug and she's literally just here to yell things at your debug log π
β¨ NAME β¨
SDL_LogDebug β logs a message with SDL_LOG_PRIORITY_DEBUG. that's it. that's the whole job. she's a one-trick pony and she's iconic for it π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_log.h>
void SDL_LogDebug(int category, const char *fmt, ...);
no cap, that's the whole signature. void in, vibes out β¨
π¦ FUNCTION PARAMETERS π¦
categoryβ the category of the message. like, which little folder does this log belong in πfmtβ aprintf()style message format string. yes, the classic percent-sign situation, you know the drill π...β additional parameters matching%tokens in thefmtstring, if any. if there are none, don't pass any, it's giving balanced π«Ά
π₯ THREAD SAFETY π₯
It is safe to call this function from any thread. ANY THREAD. go wild, queen, no locks needed, no drama, she's built different π
β AVAILABILITY β
This function is available since SDL 3.2.0. if you're on something older, sorry babe, time to update π
π SEE ALSO π
your girl does not roll alone, here's the whole friend group π«
SDL_Log(3)SDL_LogCritical(3)SDL_LogError(3)SDL_LogInfo(3)SDL_LogMessage(3)SDL_LogMessageV(3)SDL_LogTrace(3)SDL_LogVerbose(3)SDL_LogWarn(3)
lowkey a reminder: this is the DEBUG priority one, so she's the quietest of the loud kids β perfect for "wait why did this happen" detective work π
okay that's the page!! brought to you by Simple Directmedia Layer, SDL 3.4.18, and this exact SDL_LogDebug(3) moment in time π log responsibly, bestie, ily, bye!! πβ¨π¦
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms