From 42ce1d02de33d2c6279b46a000ccd35ea52b0058 Mon Sep 17 00:00:00 2001 From: Haejeong Kim Date: Wed, 5 Jul 2017 14:00:34 +0900 Subject: [PATCH] Add color to debug msg Change-Id: I38363ffa4fe90fa084a87c8cdd1aa4cf92aad0b3 --- include/dcm_svc_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!") -- 2.34.1