SDL_LogPriority(3type)
π SDL_LogPriority(3type) π
okay so bestie, we're in the SDL3 DATATYPES manual rn and today's main character is SDL_LogPriority. it's not that deep, but it IS important, so let's go π«Ά
π NAME π
SDL_LogPriority β the predefined log priorities β¨
like, the little vibe-labels SDL uses to say "this message is a whisper" vs "this message is the building on fire". the predefined log priorities, fr fr.
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_log.h>
typedef enum SDL_LogPriority
{
SDL_LOG_PRIORITY_INVALID,
SDL_LOG_PRIORITY_TRACE,
SDL_LOG_PRIORITY_VERBOSE,
SDL_LOG_PRIORITY_DEBUG,
SDL_LOG_PRIORITY_INFO,
SDL_LOG_PRIORITY_WARN,
SDL_LOG_PRIORITY_ERROR,
SDL_LOG_PRIORITY_CRITICAL,
SDL_LOG_PRIORITY_COUNT
} SDL_LogPriority;
look at that enum. SDL_LOG_PRIORITY_INVALID is sitting at the top being the "not a real priority bestie" placeholder, then it goes TRACE, VERBOSE, DEBUG, INFO, WARN, ERROR, CRITICAL, and finally SDL_LOG_PRIORITY_COUNT closes the group out at the bottom. that's the whole list, in that exact order, no notes π
no cap: don't go renaming these or reordering them in your head. the enum is the enum. copy it character for character and you're golden π
π AVAILABILITY π
this enum is available since SDL 3.2.0. that's it, that's the whole section. it's giving "short but iconic" π
π¦ the sign-off π¦
and that's the page!! thanks for coming to my ted talk. this one ships from Simple Directmedia Layer, version SDL 3.4.18, and the footer's date slot is literally just SDL_LogPriority(3type) which is so real of it β the page is dated by its own name, main character energy only π
stay logged, stay prioritized, mwah πβ¨πΈπ
π¦ 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