From: Haejeong Kim Date: Wed, 5 Jul 2017 05:00:34 +0000 (+0900) Subject: Add color to debug msg X-Git-Tag: submit/tizen/20170705.070223~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42ce1d02de33d2c6279b46a000ccd35ea52b0058;p=platform%2Fcore%2Fmultimedia%2Fdcm-service.git Add color to debug msg Change-Id: I38363ffa4fe90fa084a87c8cdd1aa4cf92aad0b3 --- diff --git a/include/dcm_svc_debug.h b/include/dcm_svc_debug.h index 1a5e95e..67919e1 100755 --- a/include/dcm_svc_debug.h +++ b/include/dcm_svc_debug.h @@ -89,7 +89,7 @@ #define ERR_BUF_LENGHT 256 #define dcm_stderror(fmt) do { \ char dcm_stderror_buf[ERR_BUF_LENGHT] = {0, }; \ - LOGE(fmt" : standard error= [%s]", strerror_r(errno, dcm_stderror_buf, ERR_BUF_LENGHT)); \ + LOGE(FONT_COLOR_RED""fmt""" : STANDARD ERROR [%s]"FONT_COLOR_RESET, strerror_r(errno, dcm_stderror_buf, ERR_BUF_LENGHT)); \ } while (0) #define DCM_CHECK_VAL(expr, val) dcm_retvm_if(!(expr), val, "Invalid parameter, return ERROR code!")