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_LOGGING - A variable controlling the default SDL log levels.

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                SDL_HINT_LOGGING(3)

Description

       This  variable  is  a comma separated set of category=level tokens that define the default logging levels
       for SDL applications.

       The category can be a numeric category, one of "app",  "error",  "assert",  "system",  "audio",  "video",
       "render", "input", "test", or forany unspecified category.

       The  level  can  be  a  numeric level, one of "verbose", "debug", "info", "warn", "error", "critical", or
       "quiet" to disable that category.

       You can omit the category if you want to set the logging level for all categories.

       If this hint isn't set, the default log  levels  are  equivalent  to:  app=info,assert=warn,test=verbose,
       =error This hint can be set anytime.

Header File

       Defined in SDL3/SDL_hints.h

Name

       SDL_HINT_LOGGING - A variable controlling the default SDL log levels.

Synopsis

#include"SDL3/SDL.h"#defineSDL_HINT_LOGGINGSDL_LOGGING"

See Also