Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-09-17 19:09:14
Size: 1391
Editor: SheenaSmith
Comment: update content - correct category name
Revision 4 as of 2011-12-09 18:38:54
Size: 1377
Editor: SheenaSmith
Comment: update content - fill in or blank out descriptions
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
||SDL_LOG_CATEGORY_APPLICATION||description||
||SDL_LOG_CATEGORY_ERROR||description||
||SDL_LOG_CATEGORY_SYSTEM||description||
||SDL_LOG_CATEGORY_AUDIO||description||
||SDL_LOG_CATEGORY_VIDEO||description||
||SDL_LOG_CATEGORY_RENDER||description||
||SDL_LOG_CATEGORY_INPUT||description||
||SDL_LOG_CATEGORY_APPLICATION||application log||
||SDL_LOG_CATEGORY_ERROR||error log||
||SDL_LOG_CATEGORY_SYSTEM||system log||
||SDL_LOG_CATEGORY_AUDIO||audio log||
||SDL_LOG_CATEGORY_VIDEO||video log||
||SDL_LOG_CATEGORY_RENDER||render log||
||SDL_LOG_CATEGORY_INPUT||input log||
Line 28: Line 28:
By default the APPLICATION category is enabled at the ^SDL_LOG_PRIORITY_^INFO level and all other categories are enabled at the ^SDL_LOG_PRIORITY_^CRITICAL level. See [[SDL_LogPriority]] for details. By default the APPLICATION category is enabled at the SDL_LOG_PRIORITY_INFO level and all other categories are enabled at the SDL_LOG_PRIORITY_CRITICAL level. See [[SDL_LogPriority]] for details.
Line 43: Line 43:
 .[[SDL_LogMessageV]] ???  .[[SDL_LogMessageV]]

DRAFT

SDL_LOG_CATEGORY

An enumeration of the predefined log categories.

Values

SDL_LOG_CATEGORY_APPLICATION

application log

SDL_LOG_CATEGORY_ERROR

error log

SDL_LOG_CATEGORY_SYSTEM

system log

SDL_LOG_CATEGORY_AUDIO

audio log

SDL_LOG_CATEGORY_VIDEO

video log

SDL_LOG_CATEGORY_RENDER

render log

SDL_LOG_CATEGORY_INPUT

input log

SDL_LOG_CATEGORY_RESERVED#

# = 1-10; reserved for future SDL library use

SDL_LOG_CATEGORY_CUSTOM

reserved for application use; see Remarks for details

Code Examples

You can add your code example here

Remarks

By default the APPLICATION category is enabled at the SDL_LOG_PRIORITY_INFO level and all other categories are enabled at the SDL_LOG_PRIORITY_CRITICAL level. See SDL_LogPriority for details.

SDL_LOG_CATEGORY_CUSTOM is reserved for application use; for example:

  • enum {
          MYAPP_CATEGORY_AWESOME1 = SDL_LOG_CATEGORY_CUSTOM,
          MYAPP_CATEGORY_AWESOME2,
          MYAPP_CATEGORY_AWESOME3,
          ...
    };


CategoryEnum, CategoryLog

None: SDL_LOG_CATEGORY (last edited 2016-11-28 21:35:53 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit