Added support for the DEBUG_INVOCATION environment variable

Fixes https://github.com/libsdl-org/SDL/issues/12275
This commit is contained in:
Sam Lantinga
2025-09-07 14:10:55 -07:00
parent 9116a56c13
commit 35959b606a
2 changed files with 17 additions and 2 deletions

View File

@@ -2410,6 +2410,10 @@ extern "C" {
*
* `app=info,assert=warn,test=verbose,*=error`
*
* If the `DEBUG_INVOCATION` environment variable is set to "1", the default log levels are equivalent to:
*
* `assert=warn,test=verbose,*=debug`
*
* This hint can be set anytime.
*
* \since This hint is available since SDL 3.2.0.