Re: [PATCH weston v2 6/6] Add API to install protocol loggers on the server wl_display

2016-08-09 Thread Jonas Ã…dahl
On Tue, Jul 05, 2016 at 09:51:11AM +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 weston v2 6/6] Add API to install protocol loggers on the server wl_display

2016-07-05 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