SDL Wiki

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


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.