VSF Documented
|
#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, ...) __SDL_LogMessage(__prio, (__category), (__fmt), ##__VA_ARGS__) |
#define | SDL_Log(...) __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, 0, __VA_ARGS__) |
#define | SDL_LogInfo(...) __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, __VA_ARGS__) |
#define | SDL_LogError(...) __SDL_LogMessage(SDL_LOG_PRIORITY_ERROR, __VA_ARGS__) |
#define | SDL_LogCritical(...) __SDL_LogMessage(SDL_LOG_PRIORITY_ERROR, __VA_ARGS__) |
#define | SDL_LogDebug(...) __SDL_LogMessage(SDL_LOG_PRIORITY_DEBUG, __VA_ARGS__) |
#define | SDL_LogWarn(...) __SDL_LogMessage(SDL_LOG_PRIORITY_WARN, __VA_ARGS__) |
#define | SDL_LogVerbose(...) __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, __VA_ARGS__) |
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,...) |
#define SDL_LogMessage | ( | __category, | |
__prio, | |||
__fmt, | |||
... | |||
) | __SDL_LogMessage(__prio, (__category), (__fmt), ##__VA_ARGS__) |
#define SDL_Log | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, 0, __VA_ARGS__) |
#define SDL_LogInfo | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, __VA_ARGS__) |
#define SDL_LogError | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_ERROR, __VA_ARGS__) |
#define SDL_LogCritical | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_ERROR, __VA_ARGS__) |
#define SDL_LogDebug | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_DEBUG, __VA_ARGS__) |
#define SDL_LogWarn | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_WARN, __VA_ARGS__) |
#define SDL_LogVerbose | ( | ... | ) | __SDL_LogMessage(SDL_LOG_PRIORITY_INFO, __VA_ARGS__) |
typedef enum SDL_LogCategory SDL_LogCategory |
typedef enum SDL_LogPriority SDL_LogPriority |
enum SDL_LogCategory |
enum SDL_LogPriority |
|
extern |