SDL_LogCritical
Use this function to log a message with SDL_LOG_PRIORITY_CRITICAL.
Syntax
void SDL_LogCritical(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 |