#ifndef __LOG_H__
#define __LOG_H__
-#ifndef NO_TIZEN
+#include <stdio.h>
#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
#undef LOG_TAG
#endif
#define _LOGX(fmt, args...) LOGX(fmt "\n", ##args)
#endif
+#ifndef _SOUT
+#define _SOUT(fmt, args...) fprintf(stdout, fmt "\n", ##args)
+#endif
+
+#ifndef _SERR
+#define _SERR(fmt, args...) fprintf(stderr, fmt "\n", ##args)
+#endif
+
#endif /* __LOG_H__ */