ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
View logging facilities via SDL_Log. More...
#include <SDL_log.h>
Go to the source code of this file.
Macros | |
#define | LOG_CATEGORY_MVC (SDL_LOG_CATEGORY_CUSTOM + 69) |
#define | MVC_LogCritical(fmt, ...) SDL_LogCritical(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogDebug(fmt, ...) SDL_LogDebug(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogEnabled(priority) (SDL_LogGetPriority(LOG_CATEGORY_MVC) <= priority) |
#define | MVC_LogError(fmt, ...) SDL_LogError(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogInfo(fmt, ...) SDL_LogInfo(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogMessage(priority, fmt, ...) SDL_LogMessage(LOG_CATEGORY_MVC, priority, "%s:%s "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogSetPriority(priority) SDL_LogSetPriority(LOG_CATEGORY_MVC, priority) |
#define | MVC_LogVerbose(fmt, ...) SDL_LogVerbose(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define | MVC_LogWarn(fmt, ...) SDL_LogWarn(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogCritical | ( | fmt, | |
... | |||
) | SDL_LogCritical(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogDebug | ( | fmt, | |
... | |||
) | SDL_LogDebug(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogEnabled | ( | priority | ) | (SDL_LogGetPriority(LOG_CATEGORY_MVC) <= priority) |
#define MVC_LogError | ( | fmt, | |
... | |||
) | SDL_LogError(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogInfo | ( | fmt, | |
... | |||
) | SDL_LogInfo(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogMessage | ( | priority, | |
fmt, | |||
... | |||
) | SDL_LogMessage(LOG_CATEGORY_MVC, priority, "%s:%s "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogSetPriority | ( | priority | ) | SDL_LogSetPriority(LOG_CATEGORY_MVC, priority) |
#define MVC_LogVerbose | ( | fmt, | |
... | |||
) | SDL_LogVerbose(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |
#define MVC_LogWarn | ( | fmt, | |
... | |||
) | SDL_LogWarn(LOG_CATEGORY_MVC, "%s:%s: "fmt, _Class()->def.name, __func__, ## __VA_ARGS__) |