Re: Logging Handlers



All the g_message, g_warning, g_error, etc functions now go through the
g_log function.  To set a custom handler for messages, use
g_log_set_handler.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Wed, 24 Nov 1999, John R. Sheets wrote:

> What's the scoop on the logging handler functions (in Glib)?
> 
>  g_message_set_handler()
>  g_warning_set_handler()
>  g_error_set_handler()
> 
> The docs claim they are all deprecated, "in favour of the new logging
> facilities".  But what are the new logging facilities?  Did I overlook
> them?  Anyone know what the approved method is of overriding the logging
> handlers?
> 
> Thanks,
> John
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]