devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=edc0037655a3356dc2561753da8aa26613bdff21
commit edc0037655a3356dc2561753da8aa26613bdff21 Author: Chris Michael <cp.mich...@samsung.com> Date: Tue Oct 14 14:07:38 2014 -0400 add code to setup wayland logging function Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/bin/e_comp_wl.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 30b631e..81cdb32 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -8,6 +8,12 @@ /* local functions */ static void +_e_comp_wl_log_cb_print(const char *format, va_list args) +{ + INF("WL: ", format, args); +} + +static void _e_comp_wl_cb_del(E_Comp *comp) { E_Comp_Data *cdata; @@ -35,6 +41,9 @@ _e_comp_wl_compositor_create(void) /* create new compositor data */ cdata = E_NEW(E_Comp_Data, 1); + /* set wayland log handler */ + wl_log_set_handler_server(_e_comp_wl_log_cb_print); + return EINA_TRUE; } --