From 897079daba7123567534bff624ffc02f3d9b125e Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 10 Mar 2017 09:08:59 +0900 Subject: [PATCH] Recover dlog colors Change-Id: I3818eb670a234e546602c08ed33ea48c79371eb9 Signed-off-by: Minje Ahn --- include/thumbnail_util_private.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/thumbnail_util_private.h b/include/thumbnail_util_private.h index 342a1df..6a0cc27 100755 --- a/include/thumbnail_util_private.h +++ b/include/thumbnail_util_private.h @@ -72,7 +72,7 @@ typedef struct { #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) @@ -82,11 +82,11 @@ typedef struct { } 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 { \ @@ -98,11 +98,11 @@ typedef struct { } 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 -- 2.7.4