Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-09-17 20:48:19
Size: 1051
Editor: SheenaSmith
Comment: update content - correct category name
Revision 4 as of 2013-08-08 19:53:05
Size: 1089
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
||'''category'''||the category to ^query / monitor^|| ||'''category'''||the category of the message; see [[#category|Remarks]] for details||
Line 28: Line 28:
<<Color2(green,Should there be some reference to [[SDL_LOG_CATEGORY]] for '''category'''?)>>

''You can add useful comments here''
<<Anchor(category)>>
The '''category''' can be one of:
<<Include(SDL_LOG_CATEGORY, , , from="== Values ==", to="== Code Examples ==")>>

DRAFT

SDL_LogWarn

Use this function to log a message with SDL_LOG_PRIORITY_WARN.

Syntax

void SDL_LogWarn(int         category,
                 const char* fmt,
                 ...)

Function Parameters

category

the category of the message; 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

The category can be one of:

SDL_LOG_CATEGORY_APPLICATION

application log

SDL_LOG_CATEGORY_ERROR

error log

SDL_LOG_CATEGORY_ASSERT

assert log

SDL_LOG_CATEGORY_SYSTEM

system log

SDL_LOG_CATEGORY_AUDIO

audio log

SDL_LOG_CATEGORY_VIDEO

video log

SDL_LOG_CATEGORY_RENDER

render log

SDL_LOG_CATEGORY_INPUT

input log

SDL_LOG_CATEGORY_TEST

test log

SDL_LOG_CATEGORY_RESERVED#

# = 1-10; reserved for future SDL library use

SDL_LOG_CATEGORY_CUSTOM

reserved for application use; see Remarks for details


CategoryAPI, CategoryLog

None: SDL_LogWarn (last edited 2013-08-08 19:53:20 by Sam Lantinga)

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