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 πŸ‘‘


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