[Vortex] Two problems

Philip Kovacs kovacsp3 at comcast.net
Tue Jun 13 12:44:42 CEST 2006


Francis Brosnan Blazquez wrote:
> Try adding after vortex_init the following:
>
>  g_log_set_default_handler (g_log_default_handler, NULL);
>   

I would argue, just for the sake of argument, that using a different log 
domain for each module
in vortex is, well, let's say, unusual.  The customary way of doing 
things is to define a single domain
for the library as a whole, e.g. "Vortex" 

In the Makefile.am:

INCLUDES =
       -DG_LOG_DOMAIN=\"Vortex\"


That way you could have set your log handler with 
g_log_set_handler("Vortex", ...), instead
of using g_log_default_handler() which "pollutes" the entire glib 
logging system.

No big deal.  Just a comment.

Phil



More information about the Vortex mailing list