Go to the documentation of this file.
29 void host_printfp(
const char* fmt,
const char* pretty_function, ...);
34 #define hostmsg(fmt, ...) host_printfp(fmt "\n", __PRETTY_FUNCTION__, ##__VA_ARGS__)
36 #define hostmsg(fmt, ...) host_printfp(fmt "\n", __func__, ##__VA_ARGS__)
42 #define host_debug(level, fmt, ...) \
44 if(host_debug_level >= (level)) { \
45 host_printf(fmt "\n", ##__VA_ARGS__); \
49 #define host_debug_e(fmt, ...) host_debug(0, "Error! " fmt, ##__VA_ARGS__)
50 #define host_debug_w(fmt, ...) host_debug(1, "Warning! " fmt, ##__VA_ARGS__)
51 #define host_debug_i(fmt, ...) host_debug(2, fmt, ##__VA_ARGS__)
#define str(s)
Definition: testrunner.h:124
size_t host_nputs(const char *str, size_t length)
void host_puts(const char *str)
void host_printf(const char *fmt,...)
void host_printfp(const char *fmt, const char *pretty_function,...)