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

2016-06-17 Thread Pekka Paalanen
On Thu, 7 Apr 2016 14:37:44 +0300 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 en

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

2016-04-07 Thread Yong Bakos
> On Apr 7, 2016, at 6:37 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 enab

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

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