Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-09-15 23:48:39
Size: 1373
Editor: SheenaSmith
Comment: create page - 9/15 98471d04c8db
Revision 2 as of 2011-09-17 19:20:29
Size: 1370
Editor: SheenaSmith
Comment: update content - correct category name
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
[[CategoryAPI]], [[CategoryBasics]] [[CategoryAPI]], [[CategoryLog]]

DRAFT

SDL_LogMessage

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

Syntax

void SDL_LogMessage(int             category,
                    SDL_LogPriority priority,
                    const char*     fmt,
                    ...)

Function Parameters

category

the category to specify

priority

the SDL_LogPriority to specify; see Remarks for details

fmt

a printf() style message format string

...

additional parameters matching % tokens in the fmt string, if any

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

You can add useful comments here


CategoryAPI, CategoryLog

None: SDL_LogMessage (last edited 2013-08-08 19:50:33 by Sam Lantinga)

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