SDL_LogInfo(3)
β¨ SDL_LogInfo β¨
ok so bestie, this is the SDL3 FUNCTIONS era and we're talking about SDL_LogInfo(3) β the little logging baddie that drops a message into your log with SDL_LOG_PRIORITY_INFO. it's giving "just letting you know, no drama" energy. π
πΈ NAME πΈ
SDL_LogInfo β logs a message with SDL_LOG_PRIORITY_INFO. that's it, that's the whole job. she's a simple queen. π
π SYNOPSIS π
#include <SDL3/SDL_log.h>
void SDL_LogInfo(int category, const char *fmt, ...);
look at her. clean. iconic. no cap.
π FUNCTION PARAMETERS π
categoryβ the category of the message. like, which little folder does this log belong in, bestie? ποΈfmtβ aprintf()style message format string. you know the vibes,%tokens and all that. β¨...β extra parameters that match up with the%tokens in thefmtstring, if there even are any. if yourfmthas zero tokens, this part just sits there quietly, minding her business. π«Ά
π¦ THREAD SAFETY π¦
ok this is the part where she ate: it is safe to call this function from any thread. any of them. all of them. go off. π₯
π AVAILABILITY π
this function has been available since SDL 3.2.0. so if you're on anything older... girl. upgrade. π
β SEE ALSO β
the whole friend group, fr fr:
SDL_Log(3)SDL_LogCritical(3)SDL_LogDebug(3)SDL_LogError(3)SDL_LogMessage(3)SDL_LogMessageV(3)SDL_LogTrace(3)SDL_LogVerbose(3)SDL_LogWarn(3)
ok and that's the whole page!! go log something cute, bestie. SDL_LogInfo is rooting for you. πβ¨
Simple Directmedia Layer πΈ SDL 3.4.18 πΈ SDL_LogInfo(3) β mwah, that's a wrap, love u, byeeee ππ¦π
π¦ 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