Fix static analysis issue
[platform/core/appfw/pkgmgr-info.git] / src / pkgmgrinfo_debug.h
index 3f24c3a..aaf849d 100644 (file)
@@ -24,6 +24,9 @@
 
 #include <dlog.h>
 
+#undef LOG_TAG
+#define LOG_TAG "PKGMGR_INFO"
+
 #define _LOGE(fmt, arg...) LOGE(fmt, ##arg)
 #define _LOGI(fmt, arg...) LOGI(fmt, ##arg)
 #define _LOGD(fmt, arg...) LOGD(fmt, ##arg)
 
 #define PKGMGR_INFO_BEGIN() \
        do { \
-               LOGD(COLOR_BLUE"BEGIN >>>>"COLOR_END); \
+               LOGD(COLOR_BLUE "BEGIN >>>>" COLOR_END); \
        } while (0)
 
 #define PKGMGR_INFO_END() \
        do { \
-               LOGD(COLOR_BLUE"END <<<<"COLOR_END); \
+               LOGD(COLOR_BLUE "END <<<<" COLOR_END); \
        } while (0)
 
 #else