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)

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);

SDL_LogMessage
SDL_LogMessageV
SDL_LogSetAllPriority
SDL_LogSetPriority

CategoryEnum, CategoryLog