VSF Documented
SDL_log.h File Reference
#include "../../vsf_sdl2_cfg.h"
#include "service/vsf_service.h"
#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Macros

#define SDL_LogMessage(__category, __prio, __fmt, ...)
 
#define SDL_Log(...)
 
#define SDL_LogInfo(...)
 
#define SDL_LogError(...)
 
#define SDL_LogCritical(...)
 
#define SDL_LogDebug(...)
 
#define SDL_LogWarn(...)
 
#define SDL_LogVerbose(...)
 

Typedefs

typedef enum SDL_LogCategory SDL_LogCategory
 
typedef enum SDL_LogPriority SDL_LogPriority
 

Enumerations

enum  SDL_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
}
 
enum  SDL_LogPriority {
  SDL_LOG_PRIORITY_VERBOSE = VSF_TRACE_INFO ,
  SDL_LOG_PRIORITY_DEBUG = VSF_TRACE_DEBUG ,
  SDL_LOG_PRIORITY_INFO = VSF_TRACE_INFO ,
  SDL_LOG_PRIORITY_WARN = VSF_TRACE_WARNING ,
  SDL_LOG_PRIORITY_ERROR = VSF_TRACE_ERROR ,
  SDL_LOG_PRIORITY_CRITICAL = VSF_TRACE_ERROR
}
 

Functions

void __SDL_LogMessage (SDL_LogPriority priority, int category, const char *fmt,...)
 

Macro Definition Documentation

◆ SDL_LogMessage

#define SDL_LogMessage ( __category,
__prio,
__fmt,
... )
Value:
__SDL_LogMessage(__prio, (__category), (__fmt), ##__VA_ARGS__)
void __SDL_LogMessage(SDL_LogPriority priority, int category, const char *fmt,...)
Definition vsf_sdl2.c:152

◆ SDL_Log

#define SDL_Log ( ...)
Value:
@ SDL_LOG_PRIORITY_INFO
Definition SDL_log.h:67

◆ SDL_LogInfo

#define SDL_LogInfo ( ...)

◆ SDL_LogError

#define SDL_LogError ( ...)
Value:
@ SDL_LOG_PRIORITY_ERROR
Definition SDL_log.h:69

◆ SDL_LogCritical

#define SDL_LogCritical ( ...)

◆ SDL_LogDebug

#define SDL_LogDebug ( ...)
Value:
@ SDL_LOG_PRIORITY_DEBUG
Definition SDL_log.h:66

◆ SDL_LogWarn

#define SDL_LogWarn ( ...)
Value:
@ SDL_LOG_PRIORITY_WARN
Definition SDL_log.h:68

◆ SDL_LogVerbose

#define SDL_LogVerbose ( ...)

Typedef Documentation

◆ SDL_LogCategory

◆ SDL_LogPriority

Enumeration Type Documentation

◆ SDL_LogCategory

Enumerator
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_LogPriority

Enumerator
SDL_LOG_PRIORITY_VERBOSE 
SDL_LOG_PRIORITY_DEBUG 
SDL_LOG_PRIORITY_INFO 
SDL_LOG_PRIORITY_WARN 
SDL_LOG_PRIORITY_ERROR 
SDL_LOG_PRIORITY_CRITICAL 

Function Documentation

◆ __SDL_LogMessage()

void __SDL_LogMessage ( SDL_LogPriority priority,
int category,
const char * fmt,
... )
extern
Generated from commit: vsfteam/vsf@ceb53fd