summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-27 14:34:32 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-09-27 14:34:32 -0400
commit2a1ef9fce74cbae6dfe82cc55180e50737706b81 (patch)
tree828ed07a2f382b1737ee1dc6f2f2fc5bba64ec5e /src/bin/elementary/test.h
parent97846281b5cc8c77e243e2547ac14ad155961186 (diff)
elm_test: undef logging macros before redefining them in header
Summary: Depends on D10228 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10229
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/elementary/test.h b/src/bin/elementary/test.h
index a5e78bb..33f7edc 100644
--- a/src/bin/elementary/test.h
+++ b/src/bin/elementary/test.h
@@ -3,10 +3,15 @@
3 3
4extern int _log_domain; 4extern int _log_domain;
5 5
6#undef CRI
6#define CRI(...) EINA_LOG_DOM_CRIT(_log_domain, _VA_ARGS__) 7#define CRI(...) EINA_LOG_DOM_CRIT(_log_domain, _VA_ARGS__)
8#undef ERR
7#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__) 9#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
10#undef WRN
8#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__) 11#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
12#undef INF
9#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__) 13#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
14#undef DBG
10#define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__) 15#define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__)
11 16
12#endif 17#endif