Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-10-30 22:46:54
Size: 1465
Editor: SheenaSmith
Comment: update content - w/ Sam
Revision 4 as of 2013-02-11 17:20:00
Size: 1371
Comment: Differentiated from SDL_LogMessage.
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to log a message with the specified category and priority.

<<Color2(green,Should
this description be adjusted to more clearly differentiate this function from [[SDL_LogMessage]]()?)>>
Use this function to log a message with the specified category and priority.  This version of [[SDL_LogMessage]] uses a stdarg variadic argument list.
Line 37: Line 35:
''You can add useful comments here''

DRAFT

SDL_LogMessageV

Use this function to log a message with the specified category and priority. This version of SDL_LogMessage uses a stdarg variadic argument list.

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)

green


CategoryAPI, CategoryLog

None: SDL_LogMessageV (last edited 2016-05-11 20:19:53 by PhilippWiesemann)

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