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

2016-03-30 Thread Giulio Camuffo
2016-03-30 21:26 GMT+03:00 Bryce Harrington : > On Wed, Mar 30, 2016 at 09:05:07AM +0300, Giulio Camuffo wrote: >> 2016-03-30 2:10 GMT+03:00 Bryce Harrington : >> > On Wed, Mar 23, 2016 at 04:31:16PM +0200, Giulio Camuffo wrote: >> >> The new wl_display_add_protocol_logger allows to set a function

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

2016-03-30 Thread Bryce Harrington
On Wed, Mar 30, 2016 at 09:05:07AM +0300, Giulio Camuffo wrote: > 2016-03-30 2:10 GMT+03:00 Bryce Harrington : > > On Wed, Mar 23, 2016 at 04:31:16PM +0200, Giulio Camuffo wrote: > >> The new wl_display_add_protocol_logger allows to set a function as > >> a logger, which will get called when a new

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

2016-03-29 Thread Giulio Camuffo
2016-03-30 2:10 GMT+03:00 Bryce Harrington : > On Wed, Mar 23, 2016 at 04:31:16PM +0200, Giulio Camuffo wrote: >> 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 W

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

2016-03-29 Thread Bryce Harrington
On Wed, Mar 23, 2016 at 04:31:16PM +0200, Giulio Camuffo wrote: > 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

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

2016-03-23 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. Sign