10 #define TEMU_LOGGING_H 145 __attribute__((noreturn)) __attribute__((format(printf, 2, 3)));
153 __attribute__((format(printf, 2, 3)));
161 __attribute__((format(printf, 2, 3)));
169 __attribute__((format(printf, 2, 3)));
177 __attribute__((format(printf, 2, 3)));
189 __attribute__((format(printf, 2, 3)));
200 #define temu_logDebug temu_logDebugFunc 244 #define teLC_FirstUserCat 8 246 #define teLC_DefaultCat 0 247 #define teLC_SimCat 1 248 #define teLC_TargetCat 2 249 #define teLC_ConfigCat 3 273 __attribute__((format(printf, 4, 5)));
283 __attribute__((noreturn)) __attribute__((format(printf, 2, 3)));
292 __attribute__((format(printf, 2, 3)));
301 __attribute__((format(printf, 2, 3)));
310 __attribute__((format(printf, 2, 3)));
321 __attribute__((noreturn)) __attribute__((format(printf, 2, 3)));
330 __attribute__((format(printf, 2, 3)));
339 __attribute__((format(printf, 2, 3)));
349 __attribute__((format(printf, 2, 3)));
358 __attribute__((noreturn)) __attribute__((format(printf, 2, 3)));
367 __attribute__((format(printf, 2, 3)));
376 __attribute__((format(printf, 2, 3)));
386 __attribute__((format(printf, 2, 3)));
TEMU_API void temu_logToCategory(const void *Obj, unsigned Category, temu_LogLevel Severity, const char *Msg,...) __attribute__((format(printf
TEMU_API void temu_logFatal(const void *Obj, const char *Msg,...) __attribute__((noreturn)) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logConfigInfo(const void *Obj, const char *Msg,...) __attribute__((format(printf
Trace messages, not compiled away.
Definition: Logging.h:68
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logTrace(const void *Obj, const char *Msg,...) __attribute__((format(printf
temu_LogLevel
Definition: Logging.h:63
TEMU_API void temu_logSetLevel(temu_LogLevel LogLevel)
TEMU_API void temu_objectSetLogLevel(void *Obj, unsigned Category, temu_LogLevel LogLevel)
Warnings.
Definition: Logging.h:66
TEMU_API void temu_logSetSeverity(void *Obj, unsigned Category, temu_LogLevel Severity)
#define TEMU_UNUSED
Definition: Attributes.h:31
TEMU_API void TEMU_API void temu_logSimFatal(const void *Obj, const char *Msg,...) __attribute__((noreturn)) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logInfo(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void temu_logSetDefaultFile(FILE *FP)
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logDebugFunc(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void temu_logSimError(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logConfigWarning(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logTargetInfo(const void *Obj, const char *Msg,...) __attribute__((format(printf
Normal messages.
Definition: Logging.h:67
TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logSimWarning(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void temu_logSetAdvancedFunc(void(*LogFunc)(void *, temu_Object *, unsigned, temu_LogLevel, const char *), void *UserData)
#define TEMU_API
Definition: Attributes.h:53
TEMU_API void TEMU_API void TEMU_API void temu_logWarning(const void *Obj, const char *Msg,...) __attribute__((format(printf
Fatal, emulator cannot keep on running.
Definition: Logging.h:64
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logTargetFatal(const void *Obj, const char *Msg,...) __attribute__((noreturn)) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API temu_LogLevel temu_objectGetLogLevel(void *Obj, unsigned Category)
TEMU_API void TEMU_API void temu_logError(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void temu_logSetFunc(void(*LogFunc)(const char *))
TEMU_API void temu_logSetColour(int Enable)
#define temu_logDebug
Definition: Logging.h:200
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logSimInfo(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logTargetError(const void *Obj, const char *Msg,...) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logConfigError(const void *Obj, const char *Msg,...) __attribute__((format(printf
Error happened, in principle critical but up to user.
Definition: Logging.h:65
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logConfigFatal(const void *Obj, const char *Msg,...) __attribute__((noreturn)) __attribute__((format(printf
TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void TEMU_API void temu_logTargetWarning(const void *Obj, const char *Msg,...) __attribute__((format(printf
Debug.
Definition: Logging.h:69
TEMU_API void temu_logToCategoryVA(const void *Obj, unsigned Category, temu_LogLevel Severity, const char *Msg, va_list Args)