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

2016-08-12 Thread Giulio Camuffo
2016-08-12 3:33 GMT+02:00 Jonas Ådahl : > On Thu, Aug 11, 2016 at 05:23:11PM +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 WAYLAN

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

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 05:23:11PM +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

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

2016-08-11 Thread Yong Bakos
On Aug 11, 2016, at 8:23 AM, 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 be enable

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

2016-08-11 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