Wiki Page Content

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

The default log priorities are as follows:

SDL_LOG_CATEGORY_APPLICATION

SDL_LOG_PRIORITY_INFO

SDL_LOG_CATEGORY_ASSERT

SDL_LOG_PRIORITY_WARN

SDL_LOG_CATEGORY_TEST

SDL_LOG_PRIORITY_VERBOSE

everything else

SDL_LOG_PRIORITY_CRITICAL

If you're debugging SDL you might want to call:

  • SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);


CategoryEnum, CategoryLog

None: SDL_LogPriority (last edited 2013-08-08 20:25:13 by Sam Lantinga)

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