#define thumbnail_util_retv_if(expr, val) do { \
if (expr) { \
- LOGE(FONT_COLOR_RED"[%d]", media_content_gettid()); \
+ LOGE(FONT_COLOR_RED"[%d]"FONT_COLOR_RESET, media_content_gettid()); \
return (val); \
} \
} while (0)
} while (0)
#define thumbnail_util_info(fmt, arg...) do { \
- LOGI(FONT_COLOR_GREEN"[%d]"fmt"", thumbnail_util_gettid(), ##arg); \
+ LOGI(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, thumbnail_util_gettid(), ##arg); \
} while (0)
#define thumbnail_util_error(fmt, arg...) do { \
- LOGE(FONT_COLOR_RED"[%d]"fmt"", thumbnail_util_gettid(), ##arg); \
+ LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, thumbnail_util_gettid(), ##arg); \
} while (0)
#define thumbnail_util_debug_func() do { \
} while (0)
#define thumbnail_util_sec_warn(fmt, arg...) do { \
- SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt"", thumbnail_util_gettid(), ##arg); \
+ SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, thumbnail_util_gettid(), ##arg); \
} while (0)
#define thumbnail_util_sec_error(fmt, arg...) do { \
- SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt"", thumbnail_util_gettid(), ##arg); \
+ SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, thumbnail_util_gettid(), ##arg); \
} while (0)
#ifdef __cplusplus