logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_LogCategory - The predefined log categories

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                             SDL_LogCategory(3type)

Description

       By  default  the  application  and  gpu  categories are enabled at the INFO level, the assert category is
       enabled at the WARN level, test is enabled at the VERBOSE level and all other categories are  enabled  at
       the ERROR level.

Header File

       Defined in SDL3/SDL_log.h

Name

       SDL_LogCategory - The predefined log categories

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_LogCategory{SDL_LOG_CATEGORY_APPLICATION,SDL_LOG_CATEGORY_ERROR,SDL_LOG_CATEGORY_ASSERT,SDL_LOG_CATEGORY_SYSTEM,SDL_LOG_CATEGORY_AUDIO,SDL_LOG_CATEGORY_VIDEO,SDL_LOG_CATEGORY_RENDER,SDL_LOG_CATEGORY_INPUT,SDL_LOG_CATEGORY_TEST,SDL_LOG_CATEGORY_GPU,/*ReservedforfutureSDLlibraryuse*/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,/*Beyondthispointisreservedforapplicationuse,e.g.enum{MYAPP_CATEGORY_AWESOME1=SDL_LOG_CATEGORY_CUSTOM,MYAPP_CATEGORY_AWESOME2,MYAPP_CATEGORY_AWESOME3,...};*/SDL_LOG_CATEGORY_CUSTOM}SDL_LogCategory;

See Also