Searched refs:TRACE_ARGS (Results 1 – 1 of 1) sorted by relevance
/third_party/weston/libweston/ |
D | trace.h | 31 #define TRACE_ARGS(color) LABEL, __func__, __LINE__, "\033[" #color "m" macro 34 #define LOG_ENTERS(str) log_printf(TRACE_ARGS(33), "%s {", str); log_level_inc() 35 #define LOG_EXITS(str) log_level_dec(); log_printf(TRACE_ARGS(33), "} %s", str) 38 #define LOG_INFO(fmt, ...) log_printf(TRACE_ARGS(36), fmt, ##__VA_ARGS__) 39 #define LOG_IMPORTANT(fmt, ...) log_printf(TRACE_ARGS(32), fmt, ##__VA_ARGS__) 40 #define LOG_CORE(fmt, ...) log_printf(TRACE_ARGS(35), "core: " fmt, ##__VA_ARGS__) 41 #define LOG_ERROR(fmt, ...) log_printf(TRACE_ARGS(31), fmt, ##__VA_ARGS__) 42 #define LOG_PASS() log_printf(TRACE_ARGS(32), "pass")
|