Re: g_message and g_warning under Windows



Richard Gipps wrote:
I notice that under GTK+ 2.6 (in Windows), a call to g_error() brings up a dialogue box with the error message, but where do the messages generated by g_message() and g_warning get piped to?

The log handler can be set with g_log_set_handler(), and defaults
to g_log_default_handler().

This is used if no log handler has been set for the particular log domain and log level combination. It outputs the message to stderr or stdout and if the log level is fatal it calls abort().

(from the api manual)



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