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

2017-10-20 Thread Frediano Ziglio
> > 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. > --- > Changes since v2: > - added red_channel_log_generic macro to limit the amount of copy an

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

2017-10-20 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. --- Changes since v2: - added red_channel_log_generic macro to limit the amount of copy and paste - onl