e_output: use ELOGF in log macro 44/294744/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 21 Jun 2023 08:30:03 +0000 (17:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 26 Jun 2023 01:39:10 +0000 (10:39 +0900)
Change-Id: I15ea65539f19b8c77c301d6d324b48170045a842

src/bin/e_output.c

index 2e51b67e1c1be4aa096f66476b68704389733ffd..d8ca9ec07eaa81c0333d4490698e7e9ea12c6f8f 100644 (file)
@@ -1,28 +1,28 @@
 #include "e.h"
 #include <device/board-internal.h>
 
-#define EOERR(f, output, x...)                                   \
-   do                                                            \
-     {                                                           \
-        if (!output)                                             \
-          ERR("EWL|%20.20s|              |             |%8s|"f,  \
-              "OUTPUT", "Unknown", ##x);                         \
-        else                                                     \
-          ERR("EWL|%20.20s|              |             |%8s|"f,  \
-              "OUTPUT", (output->id), ##x);                      \
-     }                                                           \
+#define EOERR(f, output, x...)             \
+   do                                      \
+     {                                     \
+        if (!output)                       \
+          ELOGFE("OUTPUT", "%8s|"f,        \
+                 NULL, "Unknown", ##x);    \
+        else                               \
+          ELOGFE("OUTPUT", "%8s|"f,        \
+                 NULL, (output->id), ##x); \
+     }                                     \
    while (0)
 
-#define EOINF(f, output, x...)                                   \
-   do                                                            \
-     {                                                           \
-        if (!output)                                             \
-          INF("EWL|%20.20s|              |             |%8s|"f,  \
-              "OUTPUT", "Unknown", ##x);                         \
-        else                                                     \
-          INF("EWL|%20.20s|              |             |%8s|"f,  \
-              "OUTPUT", (output->id), ##x);                      \
-     }                                                           \
+#define EOINF(f, output, x...)             \
+   do                                      \
+     {                                     \
+        if (!output)                       \
+          ELOGF("OUTPUT", "%8s|"f,         \
+                NULL, "Unknown", ##x);     \
+        else                               \
+          ELOGF("OUTPUT", "%8s|"f,         \
+                NULL, (output->id), ##x);  \
+     }                                     \
    while (0)
 
 #define DUMP_FPS 30