projects
/
platform
/
core
/
multimedia
/
dcm-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f79f3
)
Add color to debug msg
41/137241/2
submit/tizen/20170706.001537
author
Haejeong Kim
<backto.kim@samsung.com>
Wed, 5 Jul 2017 05:00:34 +0000
(14:00 +0900)
committer
hj kim
<backto.kim@samsung.com>
Wed, 5 Jul 2017 06:23:06 +0000
(06:23 +0000)
Change-Id: I38363ffa4fe90fa084a87c8cdd1aa4cf92aad0b3
include/dcm_svc_debug.h
patch
|
blob
|
history
diff --git
a/include/dcm_svc_debug.h
b/include/dcm_svc_debug.h
index 1a5e95e356822df080c84176d3e1f55234cc8402..67919e122f25abe7a438cef213072d98a27fe0fc 100755
(executable)
--- 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!")