Internal *LOG macros replaced with dlog_print function. 76/61676/1
authorRadoslaw Czerski <r.czerski@samsung.com>
Wed, 9 Mar 2016 15:51:33 +0000 (16:51 +0100)
committerRadoslaw Czerski <r.czerski@samsung.com>
Wed, 9 Mar 2016 15:51:33 +0000 (16:51 +0100)
Change-Id: Id8475fbf42a1e62099dd38d44f51c0cd302b1a6c
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
inc/log.h

index 0745ded..a2bec6e 100755 (executable)
--- a/inc/log.h
+++ b/inc/log.h
 #define LOG_TAG "INDICATOR"
 
 #if !defined(_D)
-#define _D(fmt, arg...) LOGD(fmt"\n", ##arg)
+#define _D(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, fmt"\n", ##arg)
 #endif
 
 #if !defined(_W)
-#define _W(fmt, arg...) LOGW(fmt"\n", ##arg)
+#define _W(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, fmt"\n", ##arg)
 #endif
 
 #if !defined(_E)
-#define _E(fmt, arg...) LOGE(fmt"\n", ##arg)
+#define _E(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, fmt"\n", ##arg)
 #endif
 
 #define retvm_if(expr, val, fmt, arg...) do { \