#define FONT_COLOR_GRAY "\033[37m"
#define dcm_debug(fmt, arg...) do { \
- LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_info(fmt, arg...) do { \
- LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_warn(fmt, arg...) do { \
- LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_error(fmt, arg...) do { \
- LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_debug(fmt, arg...) do { \
- SECURE_LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_info(fmt, arg...) do { \
- SECURE_LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_warn(fmt, arg...) do { \
- SECURE_LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_error(fmt, arg...) do { \
- SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_debug_fenter() do { \
LOGD(FONT_COLOR_RESET"<Enter>"); \
} while (0)
#define dcm_retm_if(expr, fmt, arg...) do { \
if (expr) { \
- LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \
return; \
} \
} while (0)
#define dcm_retvm_if(expr, val, fmt, arg...) do { \
if (expr) { \
- LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \
return (val); \
} \
} while (0)
#define FONT_COLOR_GRAY "\033[37m"
#define dcm_debug(fmt, arg...) do { \
- LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_info(fmt, arg...) do { \
- LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_warn(fmt, arg...) do { \
- LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_error(fmt, arg...) do { \
- LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_debug(fmt, arg...) do { \
- SECURE_LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGD(FONT_COLOR_CYAN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_info(fmt, arg...) do { \
- SECURE_LOGI(FONT_COLOR_YELLOW""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGI(FONT_COLOR_YELLOW"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_warn(fmt, arg...) do { \
- SECURE_LOGW(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGW(FONT_COLOR_GREEN"" fmt ""FONT_COLOR_RESET, ##arg); \
} while (0)
#define dcm_sec_error(fmt, arg...) do { \
- SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET , ##arg); \
+ SECURE_LOGE(FONT_COLOR_RED"" fmt ""FONT_COLOR_RESET , ##arg); \
} while (0)
#define dcm_debug_fenter() do { \