(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_LogPriority

The predefined log priorities

Header File

Defined in SDL_log.h

Syntax

typedef enum SDL_LogPriority
{
    SDL_LOG_PRIORITY_VERBOSE = 1,
    SDL_LOG_PRIORITY_DEBUG,
    SDL_LOG_PRIORITY_INFO,
    SDL_LOG_PRIORITY_WARN,
    SDL_LOG_PRIORITY_ERROR,
    SDL_LOG_PRIORITY_CRITICAL,
    SDL_NUM_LOG_PRIORITIES
} SDL_LogPriority;

CategoryAPI, CategoryAPIEnum, CategoryLog