summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-04-29 12:40:24 +0100
committerChris Michael <cp.michael@samsung.com>2013-04-29 12:40:24 +0100
commit64a598d0533f7a09d91057465b5f3e0ce7379e07 (patch)
tree98ca217521c7ece0937e4c1e2d82037f61289b4c /src
parente8b7fa49caae774a3a3f206be3357b96bcebd0cb (diff)
Add logging macros to drm engine.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/drm/evas_engine.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h
new file mode 100644
index 0000000..2691258
--- /dev/null
+++ b/src/modules/evas/engines/drm/evas_engine.h
@@ -0,0 +1,31 @@
1#ifndef EVAS_ENGINE_H
2# define EVAS_ENGINE_H
3
4extern int _evas_engine_drm_log_dom;
5
6# ifdef ERR
7# undef ERR
8# endif
9# define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_drm_log_dom, __VA_ARGS__)
10
11# ifdef DBG
12# undef DBG
13# endif
14# define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_drm_log_dom, __VA_ARGS__)
15
16# ifdef INF
17# undef INF
18# endif
19# define INF(...) EINA_LOG_DOM_INFO(_evas_engine_drm_log_dom, __VA_ARGS__)
20
21# ifdef WRN
22# undef WRN
23# endif
24# define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_drm_log_dom, __VA_ARGS__)
25
26# ifdef CRIT
27# undef CRIT
28# endif
29# define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__)
30
31#endif