(t), ##x); \
} \
while (0)
+
+# define ELOGFD(t, f, ec, x...) \
+ do \
+ { \
+ if (ec) \
+ DBG("EWL|%20.20s|w:0x%08zx|ec:%8p|"f, \
+ (t), (e_client_util_win_get(ec)), (ec), ##x); \
+ else \
+ DBG("EWL|%20.20s| | |"f, \
+ (t), ##x); \
+ } \
+ while (0)
+
+# define ELOGFE(t, f, ec, x...) \
+ do \
+ { \
+ if (ec) \
+ ERR("EWL|%20.20s|w:0x%08zx|ec:%8p|"f, \
+ (t), (e_client_util_win_get(ec)), (ec), ##x); \
+ else \
+ ERR("EWL|%20.20s| | |"f, \
+ (t), ##x); \
+ } \
+ while (0)
# else /* old version */
# define ELOG(t, cp, ec) \
do \
(t), ##x); \
} \
while (0)
+
+# define ELOGFD(t, f, cp, ec, x...) \
+ do \
+ { \
+ if (ec) \
+ DBG("EWL|%20.20s|w:0x%08zx|ec:%8p|"f, \
+ (t), (e_client_util_win_get(ec)), (ec), ##x); \
+ else \
+ DBG("EWL|%20.20s| | |"f, \
+ (t), ##x); \
+ } \
+ while (0)
+
+# define ELOGFE(t, f, cp, ec, x...) \
+ do \
+ { \
+ if (ec) \
+ ERR("EWL|%20.20s|w:0x%08zx|ec:%8p|"f, \
+ (t), (e_client_util_win_get(ec)), (ec), ##x); \
+ else \
+ ERR("EWL|%20.20s| | |"f, \
+ (t), ##x); \
+ } \
+ while (0)
# endif /* end of if (E_LOGGING >= 2) */
typedef enum _E_Log_Type