Added missing log debug function
This commit is contained in:
parent
91442746dc
commit
234bc0aa5d
2 changed files with 15 additions and 0 deletions
|
@ -143,6 +143,11 @@ extern DECLSPEC void SDLCALL SDL_Log(const char *fmt, ...);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC void SDLCALL SDL_LogVerbose(int category, const char *fmt, ...);
|
extern DECLSPEC void SDLCALL SDL_LogVerbose(int category, const char *fmt, ...);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Log a message with SDL_LOG_PRIORITY_DEBUG
|
||||||
|
*/
|
||||||
|
extern DECLSPEC void SDLCALL SDL_LogDebug(int category, const char *fmt, ...);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Log a message with SDL_LOG_PRIORITY_INFO
|
* \brief Log a message with SDL_LOG_PRIORITY_INFO
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -174,6 +174,16 @@ SDL_LogVerbose(int category, const char *fmt, ...)
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
SDL_LogDebug(int category, const char *fmt, ...)
|
||||||
|
{
|
||||||
|
va_list ap;
|
||||||
|
|
||||||
|
va_start(ap, fmt);
|
||||||
|
SDL_LogMessageV(category, SDL_LOG_PRIORITY_DEBUG, fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SDL_LogInfo(int category, const char *fmt, ...)
|
SDL_LogInfo(int category, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue