[Title] Revert to use printf() for the urgent logs
authorHaegeun Park <haegeun.park@samsung.com>
Fri, 11 Oct 2013 07:52:11 +0000 (00:52 -0700)
committerHaegeun Park <haegeun.park@samsung.com>
Fri, 11 Oct 2013 07:56:35 +0000 (00:56 -0700)
[Issue#]
[Problem]
[Cause] Dlogutil doesn't work clearly, and some logs missing...
[Solution]
- Now uses printf instead dlog when debug mode (COREGL_DEBUG is enabled)
- Until ES3.0 is complete supported and stabilized?

src/coregl_internal.h

index 1ad9216..c48647d 100644 (file)
 #define LOG_TAG "CoreGL"
 #include <dlog.h>
 
+///////////////////////////////////////
+// Disable dlog for debugging urgent issues //
+#ifdef COREGL_DEBUG
+# undef LOGE
+# define LOGE printf
+# undef LOGW
+# define LOGW printf
+# undef LOGD
+# define LOGD printf
+#endif
+///////////////////////////////////////
+
 # define COREGL_ERR(...) \
      LOGE(" "__VA_ARGS__)
 # define COREGL_WRN(...) \