SDL_SetLogPriority(3)

okay bestie, this is SDL_SetLogPriority(3) from the SDL3 FUNCTIONS manual β€” the function that sets the priority of one particular log category. no cap. πŸ’…


πŸ’– NAME πŸ’–

SDL_SetLogPriority β€” Set the priority of a particular log category. that's the whole assignment. πŸŽ€


✨ SYNOPSIS ✨

#include <SDL3/SDL_log.h>

void SDL_SetLogPriority(int category, SDL_LogPriority priority);

πŸŽ€ FUNCTION PARAMETERS πŸŽ€

  • category β€” the category to assign a priority to. yes, that exact one. πŸ¦‹
  • priority β€” the SDL_LogPriority to assign. that's the value going in. ✨

🧡 THREAD SAFETY 🧡

It is safe to call this function from any thread. Multi-threaded main character energy, slay. πŸ’–


⭐ AVAILABILITY ⭐

This function is available since SDL 3.2.0. So if you're on that version or later, you're good. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

go read those next, iykyk. πŸ’…


okay that's the whole page, bestie. This came from Simple Directmedia Layer, version SDL 3.4.18. The original footer didn't give a date, so no fake date from me β€” just source and version, periodt. bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from