e_comp_wl_capture: use ELOGF in log macro
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 21 Jun 2023 08:34:15 +0000 (17:34 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Thu, 29 Jun 2023 02:29:04 +0000 (11:29 +0900)
Change-Id: I163cf44d266ab5e71bcd06939e0ce595859483c3

src/bin/e_comp_wl_capture.c

index ecefdfd..3ef728c 100644 (file)
 #include "e_util_video.h"  /* For converting colorspace */
 #endif
 
-#define CAPINF(f, ec, str, obj, x...)                                \
-   do                                                                \
-     {                                                               \
-        if ((!ec))                                                   \
-          INF("EWL|%20.20s|            |             |%10.10s|%8p|"f,\
-              "CAPTURE", (str), (obj), ##x);                         \
-        else                                                         \
-          INF("EWL|%20.20s|w:0x%08zx|ec:%8p|%10.10s|%p|"f,           \
-              "CAPTURE",                                             \
-              (e_client_util_win_get(ec)),                           \
-              (ec),                                                  \
-              (str), (obj),                                          \
-              ##x);                                                  \
-     }                                                               \
+#define CAPINF(f, ec, str, obj, x...)     \
+   do                                     \
+     {                                    \
+        ELOGF("CAPTURE", "%10.10s|%p|"f,  \
+              (ec), (str), (obj), ##x);   \
+     }                                    \
    while (0)
 
-#define CAPDBG(f, ec, str, obj, x...)                                \
-   do                                                                \
-     {                                                               \
-        if (!ec)                                                     \
-          DBG("EWL|%20.20s|            |             |%10.10s|%8p|"f,\
-              "CAPTURE", (str), (obj), ##x);                         \
-        else                                                         \
-          DBG("EWL|%20.20s|w:0x%08zx|ec:%8p|%10.10s|%p|"f,           \
-              "CAPTURE",                                             \
-              (e_client_util_win_get(ec)),                           \
-              (ec),                                                  \
-              (str), (obj),                                          \
-              ##x);                                                  \
-     }                                                               \
+#define CAPDBG(f, ec, str, obj, x...)     \
+   do                                     \
+     {                                    \
+        ELOGFD("CAPTURE", "%10.10s|%p|"f, \
+               (ec), (str), (obj), ##x);  \
+     }                                    \
    while (0)
 
 typedef struct _E_Capture_Client E_Capture_Client;