SDL_LogTrace(3)
β¨ SDL_LogTrace(3) β¨
okay bestie, quick vibe check: this is a page from the SDL3 FUNCTIONS section of the manual (the whole thing is the Simple Directmedia Layer, and yes we'll get to that at the end π«Ά). It's all about SDL_LogTrace β your lil' bestie for whispering trace-level messages into the log. iykyk π
π NAME π
SDL_LogTrace β logs a message with SDL_LOG_PRIORITY_TRACE. literally that's it, that's the job, and she does it flawlessly β¨
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_log.h>
void SDL_LogTrace(int category, const char *fmt, ...);
π¦ FUNCTION PARAMETERS π¦
categoryβ the category of the message. that's the lil' tag so you know what part of your app is yapping π’fmtβ aprintf()style message format string. yes, the classic, iconic, never-miss format string π...β additional parameters matching%tokens in thefmtstring, if any. no tokens? no extra args, no problem, she's flexible like that π§
π₯ THREAD SAFETY π₯
It is safe to call this function from any thread. every thread can get a turn to speak, main character energy for everyone, no gatekeeping π
β AVAILABILITY β
This function is available since SDL 3.2.0. so if you're on anything older... babe. upgrade. π
π SEE ALSO π
SDL_Log(3)SDL_LogCritical(3)SDL_LogDebug(3)SDL_LogError(3)SDL_LogInfo(3)SDL_LogMessage(3)SDL_LogMessageV(3)SDL_LogVerbose(3)SDL_LogWarn(3)
and that's the whole page, bestie, no notes π π brought to you by Simple Directmedia Layer, version SDL 3.4.18 β the source of all this iconicness β and the date lives in the footer alongside it, slay πβ¨π¦
π¦ 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