SDL_GetLogPriority(3)
β¨ SDL_GetLogPriority β¨
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today's main character is SDL_GetLogPriority(3) π
πΈ NAME πΈ
SDL_GetLogPriority β literally just get the priority of a particular log category. That's the whole vibe. no cap.
π¦ SYNOPSIS π¦
#include <SDL3/SDL_log.h>
SDL_LogPriority SDL_GetLogPriority(int category);
look at her. so simple. so iconic. π
π FUNCTION PARAMETERS π
categoryβ the category you wanna query, bestie. that's it, that's the tea. π
β RETURN VALUE β
Returns the SDL_LogPriority for the requested category. yes, it really does just hand you the priority. obsessed. π«Ά
π THREAD SAFETY π
It is safe to call this function from any thread. fr fr, every single one. go wild, no gatekeeping here. π₯
π AVAILABILITY π
This function is available since SDL 3.2.0. if you're on something older, sorry babe, it's giving unavailable. π
π SEE ALSO π
SDL_SetLogPriority(3)β the other half of the duo, the setter to this getter, iykyk π
and that's the page, bestie! this lil slice of Simple Directmedia Layer lore comes to you from SDL 3.4.18 β stay logged, stay iconic, and may all your categories have exactly the priority you expect π β¨π
π¦ 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