Re: [PATCH wayland v5] Add API to install protocol loggers on the server wl_display

2016-08-12 Thread Pekka Paalanen
On Fri, 12 Aug 2016 09:34:46 +0200 Giulio Camuffo wrote: > Ah sorry, i forgot to add Yong's R-b. > > 2016-08-12 9:33 GMT+02:00 Giulio Camuffo : > > The new wl_display_add_protocol_logger allows to set a function as > > a logger, which will get called when a new request is received or an > > even

Re: [PATCH wayland v5] Add API to install protocol loggers on the server wl_display

2016-08-12 Thread Giulio Camuffo
Ah sorry, i forgot to add Yong's R-b. 2016-08-12 9:33 GMT+02:00 Giulio Camuffo : > The new wl_display_add_protocol_logger allows to set a function as > a logger, which will get called when a new request is received or an > event is sent. > This is akin to setting WAYLAND_DEBUG=1, but more powerful

[PATCH wayland v5] Add API to install protocol loggers on the server wl_display

2016-08-12 Thread Giulio Camuffo
The new wl_display_add_protocol_logger allows to set a function as a logger, which will get called when a new request is received or an event is sent. This is akin to setting WAYLAND_DEBUG=1, but more powerful because it can be enabled at run time and allows to show the log e.g. in a UI view. A tes