DRAFT

SDL_LogSetPriority

Use this function to set the priority of a particular log category.

Syntax

void SDL_LogSetPriority(int             category,
                        SDL_LogPriority priority)

Function Parameters

category

the category to assign a priority to

priority

the SDL_LogPriority to assign; see Remarks for details

category int values come from a singly-linked list? Accessed using SDL_LogGetPriority or is there a better/another way? Should there be a reference here or in Remarks?

Code Examples

You can add your code example here

Remarks

You can add useful comments here

Should a reference to SDL_LOG_CATEGORY be included here somewhere? Associated with the category param?

priority may be one of the following or NULL ???:

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)


CategoryAPI, CategoryLog

SDL_LogSetPriority (last edited 2011-09-17 20:47:39 by SheenaSmith)

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