Re: [Spice-devel] [spice-server 2/5] channel: Introduce logging helpers

2017-10-17 Thread Jonathon Jongsma
Despite my misgivings about calling _printerr() with an empty string... Acked-by: Jonathon Jongsma On Thu, 2017-10-12 at 12:13 +0200, Christophe Fergeau wrote: > This commit adds red_channel_{debug,warning,printerr}() helpers which > will prepend the log message with "channel-name:id (%p)". It

[Spice-devel] [spice-server 2/5] channel: Introduce logging helpers

2017-10-12 Thread Christophe Fergeau
This commit adds red_channel_{debug,warning,printerr}() helpers which will prepend the log message with "channel-name:id (%p)". It also changes various locations which were doing this manually. --- server/red-channel-client.c | 34 ++ server/red-channel.c| 1