[Spice-devel] spice-server, logging and style

Christophe Fergeau cfergeau at redhat.com
Tue Nov 3 06:51:28 PST 2015


On Tue, Nov 03, 2015 at 09:17:29AM -0500, Marc-André Lureau wrote:
> > - from a first time readers spice_return_if_fail and spice_return_val_if_fail
> >   do not suggest function is doing some logging. Also they use critical
> >   level which by default cause program abortion.
> 
> they follow the behaviour of g_return*

They follow the behaviour of g_return_ in the sense that they log a
critical, however a significant difference is that glib does not abort
by default for criticals while spice-common does.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151103/b53c12dd/attachment-0001.sig>


More information about the Spice-devel mailing list