Remove calling the fprintf 22/118322/1 accepted/tizen/3.0/common/20170314.132505 accepted/tizen/3.0/ivi/20170314.081617 accepted/tizen/3.0/mobile/20170314.081503 accepted/tizen/3.0/tv/20170314.081533 accepted/tizen/3.0/wearable/20170314.081554 submit/tizen_3.0/20170314.001913
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 10 Mar 2017 04:19:53 +0000 (13:19 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 10 Mar 2017 04:27:50 +0000 (13:27 +0900)
Printing the error log by using dlog is enough.

Change-Id: I3d61714e67b519c7f237b7455329cbab5c19d514
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/appcore-internal.h

index a645a697bab3a5ffbea2cd7dc6fbf2903d4e3787..88bc509b378994fc2e8f5293720784070bf35c72 100644 (file)
                } \
        } while (0)
 #else
-#  define _ERR(fmt, arg...) \
-       do { \
-               fprintf(stderr, "appcore: "fmt"\n", ##arg); \
-               LOGE(fmt, ##arg); \
-       } while (0)
+#  define _ERR(fmt, arg...) LOGE(fmt, ##arg)
 #  define _INFO(...) LOGI(__VA_ARGS__)
 #  define _DBG(...) LOGD(__VA_ARGS__)
 #endif