/* Defined in libc and libunittest, whichever is statically linked first will be
* used, so libunittest must always come before libc in the link order. */ int _tlog(constchar* fmt, ...) __PRINTFLIKE(1, 2); int _vtlog(constchar* fmt, va_list args);
#else
/* TLOG is also called from host code, where we don't provide a definition of
* _tlog. In this case, just printf */ #define _tlog(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) #define _vtlog(fmt, args) vfprintf(stderr, fmt, args) #endif
__END_CDECLS
#define TLOG(fmt, ...) \ do { \
_tlog("%s: %d: " fmt, TLOG_TAG, __LINE__, ##__VA_ARGS__); \
} while (0)
/* debug */ #define TLOGD(x...) \ do { \ if (TLOG_LVL >= TLOG_LVL_DEBUG) { \
TLOG(x); \
} \
} while (0)
/* info */ #define TLOGI(x...) \ do { \ if (TLOG_LVL >= TLOG_LVL_INFO) { \
TLOG(x); \
} \
} while (0)
/* warning */ #define TLOGW(x...) \ do { \ if (TLOG_LVL >= TLOG_LVL_WARN) { \
TLOG(x); \
} \
} while (0)
/* error */ #define TLOGE(x...) \ do { \ if (TLOG_LVL >= TLOG_LVL_ERROR) { \
TLOG(x); \
} \
} while (0)
/* critical */ #define TLOGC(x...) \ do { \ if (TLOG_LVL >= TLOG_LVL_CRIT) { \
TLOG(x); \
} \
} while (0)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-06-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.