Recover dlog colors 89/118289/1 accepted/tizen/common/20170321.102142 accepted/tizen/ivi/20170321.095052 accepted/tizen/mobile/20170321.095001 accepted/tizen/tv/20170321.095021 accepted/tizen/unified/20170321.095112 accepted/tizen/wearable/20170321.095039 submit/tizen/20170321.012851
authorMinje Ahn <minje.ahn@samsung.com>
Fri, 10 Mar 2017 00:02:08 +0000 (09:02 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Fri, 10 Mar 2017 00:02:08 +0000 (09:02 +0900)
Change-Id: I621999c931f70f1630e79e9a6f6267acee7f5417
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_info_private.h
include_product/media_info_private.h

index 9204c93..aaf565d 100755 (executable)
@@ -782,20 +782,20 @@ int _media_filter_attribute_option_generate(attribute_h attr, filter_h filter, c
 
 #define media_content_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)
 
 #define media_content_retvm_if(expr, val, fmt, arg...) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                               LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                                return (val); \
                        } \
                } while (0)
 
 #define media_content_warn(fmt, arg...) do { \
-                       LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);         \
+                       LOGW(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_debug(fmt, arg...) do { \
@@ -803,11 +803,11 @@ int _media_filter_attribute_option_generate(attribute_h attr, filter_h filter, c
                } while (0)
 
 #define media_content_info(fmt, arg...) do { \
-                       LOGI(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       LOGI(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_error(fmt, arg...) do { \
-                       LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_debug_func() do { \
@@ -819,18 +819,18 @@ int _media_filter_attribute_option_generate(attribute_h attr, filter_h filter, c
                } while (0)
 
 #define media_content_sec_warn(fmt, arg...) do { \
-                       SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_sec_error(fmt, arg...) do { \
-                       SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define ERR_BUF_LENGTH 256
 #define media_content_stderror(fmt) do { \
                        char media_content_stderror_buf[ERR_BUF_LENGTH] = {0, }; \
                        strerror_r(errno, media_content_stderror_buf, ERR_BUF_LENGTH);  \
-                       LOGE(FONT_COLOR_RED fmt" : STANDARD ERROR [%s]", media_content_stderror_buf); \
+                       LOGE(FONT_COLOR_RED fmt" : STANDARD ERROR [%s]"FONT_COLOR_RESET, media_content_stderror_buf); \
                } while (0)
 
 #ifdef __cplusplus
index e766540..952b1dd 100755 (executable)
@@ -1008,20 +1008,20 @@ GMutex* _content_get_db_mutex(void);
 
 #define media_content_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)
 
 #define media_content_retvm_if(expr, val, fmt, arg...) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                               LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                                return (val); \
                        } \
                } while (0)
 
 #define media_content_warn(fmt, arg...) do { \
-                       LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       LOGW(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_debug(fmt, arg...) do { \
@@ -1029,11 +1029,11 @@ GMutex* _content_get_db_mutex(void);
                } while (0)
 
 #define media_content_info(fmt, arg...) do { \
-                       LOGI(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       LOGI(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_error(fmt, arg...) do { \
-                       LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_debug_func() do { \
@@ -1045,18 +1045,18 @@ GMutex* _content_get_db_mutex(void);
                } while (0)
 
 #define media_content_sec_warn(fmt, arg...) do { \
-                       SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       SECURE_LOGW(FONT_COLOR_GREEN"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define media_content_sec_error(fmt, arg...) do { \
-                       SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt"", media_content_gettid(), ##arg);     \
+                       SECURE_LOGE(FONT_COLOR_RED"[%d]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg);     \
                } while (0)
 
 #define ERR_BUF_LENGTH 256
 #define media_content_stderror(fmt) do { \
                        char media_content_stderror_buf[ERR_BUF_LENGTH] = {0, }; \
                        strerror_r(errno, media_content_stderror_buf, ERR_BUF_LENGTH);  \
-                       LOGE(FONT_COLOR_RED fmt" : STANDARD ERROR [%s]", media_content_stderror_buf); \
+                       LOGE(FONT_COLOR_RED fmt" : STANDARD ERROR [%s]"FONT_COLOR_RESET, media_content_stderror_buf); \
                } while (0)
 
 #ifdef __cplusplus