logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_EVENT_LOGGING - A variable controlling verbosity of the logging of SDL events pushed onto the

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                          SDL_HINT_EVENT_LOGGING(3)

Description

       The variable can be set to the following values, from least to most verbose:

       • "0": Don't log any events. (default)

       • "1": Log most events (other than the really spammy ones).

       • "2": Include mouse and finger motion events.

       This is generally meant to be used to debug SDL itself, but can be useful for application developers that
       need better visibility into what is going  on  in  the  event  queue.  Logged  events  are  sent  through
       SDL_Log(), which means by default they appear on stdout on most platforms or maybe OutputDebugString() on
       Windows, and can be funneled by the app with SDL_SetLogOutputFunction(), etc.

       This hint can be set anytime.

Name

       SDL_HINT_EVENT_LOGGING  -  A  variable controlling verbosity of the logging of SDL events pushed onto the
       internal queue.

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_EVENT_LOGGING"SDL_EVENT_LOGGING"

See Also