You can also set your own log handler:

  
http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html#g-log-set-handler

And capture message to a file, send them to a dialog box, whatever.

On 3/17/06, Daniel Espinosa <[EMAIL PROTECTED]> wrote:
> Run your program from the consol, and in the command line write the
> following:
>
>  user$ yourprogram > filelog
>
> 2006/3/17, Sumit Kumar Jain <[EMAIL PROTECTED]>:
> >
>  how can we log error messages for Glivusing error function like g_error()
> to a file and not printed to the console?
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to