DRAFT

SDL_LogMessageV

Use this function to log a message with the specified category and priority.

Should this description be adjusted to more clearly differentiate this function from SDL_LogMessage()?

Syntax

void SDL_LogMessageV(int             category,
                     SDL_LogPriority priority,
                     const char*     fmt,
                     va_list         ap)

Function Parameters

category

the category to specify

priority

the SDL_LogPriority to specify; see Remarks for details

fmt

a printf() style message format string

ap

a variable argument list

Code Examples

You can add your code example here

Remarks

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)

Should there be some reference to SDL_LOG_CATEGORY for category?

You can add useful comments here


CategoryAPI, CategoryLog

SDL_LogMessageV (last edited 2011-10-30 22:46:54 by SheenaSmith)

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