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

src/bin/e_presentation_time.c

index acfdc06..b9b638f 100644 (file)
@@ -3,26 +3,15 @@
 #include <tizen-extension-server-protocol.h>
 
 
-#define PRSTT_TRACE(f, ec, x... )                                \
-   do                                                            \
-     {                                                           \
-        if (prstt_trace)                                         \
-          {                                                      \
-             if (ec)                                             \
-               {                                                 \
-                  INF("EWL|%20.20s|w:0x%08zx|ec:%8p|"f,          \
-                      "PRESENTATION-TIME",                       \
-                      (e_client_util_win_get(ec)),               \
-                      (ec),                                      \
-                      ##x);                                      \
-               }                                                 \
-             else                                                \
-               {                                                 \
-                  INF("EWL|%20.20s|            |             |"f,\
-                      "PRESENTATION-TIME",##x);                  \
-               }                                                 \
-          }                                                      \
-      }                                                          \
+#define PRSTT_TRACE(f, ec, x... )          \
+   do                                      \
+     {                                     \
+        if (prstt_trace)                   \
+          {                                \
+             ELOGF("PRESENTATION-TIME", f, \
+                   (ec), ##x);             \
+          }                                \
+      }                                    \
    while (0)
 
 static E_Presentation_Time *_presentation = NULL;