Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-09-17 19:20:29
Size: 1370
Editor: SheenaSmith
Comment: update content - correct category name
Revision 3 as of 2013-02-11 17:16:54
Size: 1328
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
''You can add useful comments here''

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


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