#define FONT_COLOR_GRAY "\033[37m"
#define media_svc_debug(fmt, arg...) do { \
- LOGD(FONT_COLOR_RESET""fmt"", ##arg); \
+ LOGD(FONT_COLOR_RESET"" fmt "", ##arg); \
} while (0)
#define media_svc_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 media_svc_debug_fenter() do { \
- LOGD(FONT_COLOR_YELLOW"<ENTER>"FONT_COLOR_RESET); \
+ LOGD(FONT_COLOR_YELLOW"<ENTER>" FONT_COLOR_RESET); \
} while (0)
#define media_svc_debug_fleave() do { \
- LOGD(FONT_COLOR_YELLOW"<LEAVE>"FONT_COLOR_RESET); \
+ LOGD(FONT_COLOR_YELLOW"<LEAVE>" FONT_COLOR_RESET); \
} while (0)
#define media_svc_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 media_svc_retv_if(expr, val) do { \
if (expr) { \
- LOGE(FONT_COLOR_RED""FONT_COLOR_RESET); \
+ LOGE(FONT_COLOR_RED"" FONT_COLOR_RESET); \
return (val); \
} \
} while (0)
#define media_svc_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 media_svc_retv_del_if(expr, val, p_str) do { \
if (expr) { \
- LOGE(FONT_COLOR_RED""FONT_COLOR_RESET); \
+ LOGE(FONT_COLOR_RED"" FONT_COLOR_RESET); \
_media_svc_destroy_content_info(p_str); \
return (val); \
} \
} while (0)
#define media_svc_sec_debug(fmt, arg...) do { \
- SECURE_LOGI(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGI(FONT_COLOR_GREEN"" fmt "" FONT_COLOR_RESET, ##arg); \
} while (0)
#define media_svc_sec_warn(fmt, arg...) do { \
- SECURE_LOGW(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ SECURE_LOGW(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
} while (0)
#define media_svc_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 ERR_BUF_LENGHT 256