Module sdl2_sys::log [−] [src]

Enums

SDL_LOG_CATEGORY

\brief The predefined log categories

SDL_LogPriority

\brief The predefined log priorities

Constants

SDL_LOG_CATEGORY_APPLICATION
SDL_LOG_CATEGORY_ASSERT
SDL_LOG_CATEGORY_AUDIO
SDL_LOG_CATEGORY_CUSTOM
SDL_LOG_CATEGORY_ERROR
SDL_LOG_CATEGORY_INPUT
SDL_LOG_CATEGORY_RENDER
SDL_LOG_CATEGORY_RESERVED1
SDL_LOG_CATEGORY_RESERVED2
SDL_LOG_CATEGORY_RESERVED3
SDL_LOG_CATEGORY_RESERVED4
SDL_LOG_CATEGORY_RESERVED5
SDL_LOG_CATEGORY_RESERVED6
SDL_LOG_CATEGORY_RESERVED7
SDL_LOG_CATEGORY_RESERVED8
SDL_LOG_CATEGORY_RESERVED9
SDL_LOG_CATEGORY_RESERVED10
SDL_LOG_CATEGORY_SYSTEM
SDL_LOG_CATEGORY_TEST
SDL_LOG_CATEGORY_VIDEO

Functions

SDL_Log⚠

\brief Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO

SDL_LogCritical⚠

\brief Log a message with SDL_LOG_PRIORITY_CRITICAL

SDL_LogDebug⚠

\brief Log a message with SDL_LOG_PRIORITY_DEBUG

SDL_LogError⚠

\brief Log a message with SDL_LOG_PRIORITY_ERROR

SDL_LogGetOutputFunction⚠

\brief Get the current log output function.

SDL_LogGetPriority⚠

\brief Get the priority of a particular log category

SDL_LogInfo⚠

\brief Log a message with SDL_LOG_PRIORITY_INFO

SDL_LogMessage⚠

\brief Log a message with the specified category and priority.

SDL_LogResetPriorities⚠

\brief Reset all priorities to default.

SDL_LogSetAllPriority⚠

\brief Set the priority of all log categories

SDL_LogSetOutputFunction⚠

\brief This function allows you to replace the default log output function with one of your own.

SDL_LogSetPriority⚠

\brief Set the priority of a particular log category

SDL_LogVerbose⚠

\brief Log a message with SDL_LOG_PRIORITY_VERBOSE

SDL_LogWarn⚠

\brief Log a message with SDL_LOG_PRIORITY_WARN

Type Definitions

SDL_LogOutputFunction

\brief The prototype for the log output function