- SDL_GetDefaultLogOutputFunction
SDL_LogOutputFunction SDL_GetDefaultLogOutputFunction()
Get the default log output function.
- SDL_GetLogOutputFunction
void SDL_GetLogOutputFunction(SDL_LogOutputFunction* callback, void** userdata)
Get the current log output function.
- SDL_GetLogPriority
SDL_LogPriority SDL_GetLogPriority(int category)
Get the priority of a particular log category.
- SDL_Log
void SDL_Log(const(char)* fmt, ...)
Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO.
- SDL_LogCritical
void SDL_LogCritical(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_CRITICAL.
- SDL_LogDebug
void SDL_LogDebug(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_DEBUG.
- SDL_LogError
void SDL_LogError(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_ERROR.
- SDL_LogInfo
void SDL_LogInfo(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_INFO.
- SDL_LogMessage
void SDL_LogMessage(int category, SDL_LogPriority priority, const(char)* fmt, ...)
Log a message with the specified category and priority.
- SDL_LogMessageV
void SDL_LogMessageV(int category, SDL_LogPriority priority, const(char)* fmt, va_list ap)
Log a message with the specified category and priority.
- SDL_LogTrace
void SDL_LogTrace(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_TRACE.
- SDL_LogVerbose
void SDL_LogVerbose(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_VERBOSE.
- SDL_LogWarn
void SDL_LogWarn(int category, const(char)* fmt, ...)
Log a message with SDL_LOG_PRIORITY_WARN.
- SDL_ResetLogPriorities
void SDL_ResetLogPriorities()
Reset all priorities to default.
- SDL_SetLogOutputFunction
void SDL_SetLogOutputFunction(SDL_LogOutputFunction callback, void* userdata)
Replace the default log output function with one of your own.
- SDL_SetLogPriorities
void SDL_SetLogPriorities(SDL_LogPriority priority)
Set the priority of all log categories.
- SDL_SetLogPriority
void SDL_SetLogPriority(int category, SDL_LogPriority priority)
Set the priority of a particular log category.
- SDL_SetLogPriorityPrefix
bool SDL_SetLogPriorityPrefix(SDL_LogPriority priority, const(char)* prefix)
Set the text prepended to log messages of a given priority.
SDL Log Handling