SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_HINT_LOG_BACKENDS

A variable controlling whether SDL backend information is logged.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_LOG_BACKENDS "SDL_LOG_BACKENDS"

Remarks

The variable can be set to the following values:

This is generally meant to be used as an environment variable to let end-users report what subsystems were chosen on their system, to aid in debugging. Logged information is 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, but the specific logs are generated during subsystem init.

Version

This hint is available since SDL 3.4.0.


CategoryAPI, CategoryAPIMacro, CategoryHints


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.