Re: [Spice-devel] [vdagent-win PATCH v2 1/3] Make VDLog::printf static

2017-07-26 Thread Christophe Fergeau
On Wed, Jul 26, 2017 at 12:49:15PM +0100, Frediano Ziglio wrote: > VDLog::printf is called only using a VDLog pointer. > Since this class is a singleton, there can only be one instance of it, > so LOG() does not need really need to deal with it, VDLog::printf can > do that instead. "need really ne

[Spice-devel] [vdagent-win PATCH v2 1/3] Make VDLog::printf static

2017-07-26 Thread Frediano Ziglio
VDLog::printf is called only using a VDLog pointer. Since this class is a singleton, there can only be one instance of it, so LOG() does not need really need to deal with it, VDLog::printf can do that instead. This simplify LOG macros not having to choose between printf and VDLog::printf. The manua