|
Size: 1515
Comment: update content - correct category name
|
Size: 1306
Comment: blank out descriptions, grey out last value, add remarks from header
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| ||SDL_LOG_PRIORITY_VERBOSE||= 1|| ||SDL_LOG_PRIORITY_DEBUG||description|| ||SDL_LOG_PRIORITY_INFO||description|| ||SDL_LOG_PRIORITY_WARN||description|| ||SDL_LOG_PRIORITY_ERROR||description|| ||SDL_LOG_PRIORITY_CRITICAL||description|| ||SDL_NUM_LOG_PRIORITIES||description|| |
||SDL_LOG_PRIORITY_VERBOSE|||| ||SDL_LOG_PRIORITY_DEBUG|||| ||SDL_LOG_PRIORITY_INFO|||| ||SDL_LOG_PRIORITY_WARN|||| ||SDL_LOG_PRIORITY_ERROR|||| ||SDL_LOG_PRIORITY_CRITICAL|||| ||<rowstyle="color: #808080;">SDL_NUM_LOG_PRIORITIES||(internal use)|| |
| Line 27: | Line 27: |
| ''You can add useful comments here'' | By default logs are quiet, but if you're debugging SDL you might want: {{{SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);}}} |
| Line 29: | Line 30: |
| <<Color2(green,There are comments about several of the values that could be included here. Ex: WARN is useful for debugging, CRITICAL is default for most log categories, etc. Should they be included here?)>> <<Color2(green,Does this belong on this page as well?)>> |
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.
