change log tag from ERR to INFO for C# log
[platform/core/dotnet/launcher.git] / NativeLauncher / inc / log.h
index 5769204..20f7d2f 100644 (file)
 
 #ifndef NO_TIZEN
 #include <dlog.h>
+#define LOGX(fmt, arg...) \
+       ({ do { \
+               dlog_print(DLOG_INFO, LOG_TAG, fmt, ##arg); \
+       } while (0); })
+
 #else
 #include <stdio.h>
 #define LOGE(fmt, args...) printf(fmt, ##args)
 #define LOGD(fmt, args...) printf(fmt, ##args)
 #define LOGI(fmt, args...) printf(fmt, ##args)
+#define LOGX(fmt, args...) printf(fmt, ##args)
 #endif
 
 #ifdef  LOG_TAG
@@ -43,4 +49,8 @@
 #define _INFO(fmt, args...) LOGI(fmt "\n", ##args)
 #endif
 
+#ifndef _LOGX
+#define _LOGX(fmt, args...) LOGX(fmt "\n", ##args)
+#endif
+
 #endif /* __LOG_H__ */