SDL_ResetLogPriorities(3)

✨ SDL_ResetLogPriorities ✨

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_ResetLogPriorities(3) πŸ’–


🌸 NAME 🌸

SDL_ResetLogPriorities β€” reset all priorities to default πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_log.h>

void SDL_ResetLogPriorities(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

So like. This one is the big undo button for your log priorities β€” it resets every single one of them back to default. No cap, all of them. ✨

And the tea is: SDL_Quit() calls this one for you. So if you were sitting there wondering who keeps resetting your vibes, it's literally SDL_Quit(). 🫢


πŸ’œ THREAD SAFETY πŸ’œ

It is safe to call this function from any thread. Yes, any. Go wild, bestie, it's giving unbothered. 😌


⭐ AVAILABILITY ⭐

This function has been available since SDL 3.2.0 β€” so if you're on anything older, that's a no from her. πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ that's the whole page, and it was brought to you by Simple Directmedia Layer, SDL 3.4.18, and this lil doc right here β€” SDL_ResetLogPriorities(3) πŸ‘‘ bye bestie, go reset something πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from