DRAFT |
SDL_LogPriority
An enumeration of the predefined log priorities.
Values
SDL_LOG_PRIORITY_VERBOSE |
|
SDL_LOG_PRIORITY_DEBUG |
|
SDL_LOG_PRIORITY_INFO |
|
SDL_LOG_PRIORITY_WARN |
|
SDL_LOG_PRIORITY_ERROR |
|
SDL_LOG_PRIORITY_CRITICAL |
|
SDL_NUM_LOG_PRIORITIES |
(internal use) |
Code Examples
You can add your code example here
Remarks
By default logs are quiet, but if you're debugging SDL you might want:
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);
By default the SDL_LOG_CATEGORY_APPLICATION category is enabled at the INFO level and all other SDL_LOG_CATEGORY categories are enabled at the CRITICAL level.
