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
