SDL_LogVerbose(3)

✨ SDL_LogVerbose(3) ✨

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today's main character is SDL_LogVerbose πŸ’…


🌸 NAME 🌸

SDL_LogVerbose β€” logs a message with SDL_LOG_PRIORITY_VERBOSE. that's it, that's the whole job. it's giving "quietest girl in the log-level friend group" 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_log.h>

void SDL_LogVerbose(int category, const char *fmt, ...);

look at her. short. sweet. takes a category, takes a format string, takes a little army of extra args. iconic behavior fr fr ✨


πŸ¦‹ FUNCTION PARAMETERS πŸ¦‹

  • category β€” the category of the message. like, which lil bucket this log belongs to. you sort it, girlie πŸ—‚οΈ
  • fmt β€” a printf() style message format string. yes, the same energy as printf(), so those % tokens are doing their thing πŸ’…
  • ... β€” additional parameters matching % tokens in the fmt string, if any. if there are no % tokens? then there's nothing to pass, and that's valid, no cap πŸ’–

🧚 THREAD SAFETY 🧚

It is safe to call this function from any thread. every thread is invited to the party, no gatekeeping, no drama, we love a function that plays nice 🌈


⭐ AVAILABILITY ⭐

This function is available since SDL 3.2.0. so if your SDL is older than that… bestie. it's not there. update, periodt πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the whole log-level squad, all linked up:


lowkey reminder: VERBOSE is the chattiest-but-quietest tier β€” it's the stuff you log when you want every single detail, so maybe don't ship it to prod yelling at full volume, iykyk πŸ™ˆ

and that's the page, bestie! πŸŽ€ this lil love letter to SDL_LogVerbose(3) came to you courtesy of Simple Directmedia Layer, SDL 3.4.18 edition β€” go log something verbose and slay the day, mwah πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from