Commit 234bc0aa authored by Sam Lantinga's avatar Sam Lantinga

Added missing log debug function

parent 91442746
......@@ -143,6 +143,11 @@ extern DECLSPEC void SDLCALL SDL_Log(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
*/
......
......@@ -174,6 +174,16 @@ SDL_LogVerbose(int category, const char *fmt, ...)
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
SDL_LogInfo(int category, const char *fmt, ...)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment