Re: How to log error messages in a file for Glib

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

 



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 <esodan@xxxxxxxxx> wrote:
> Run your program from the consol, and in the command line write the
> following:
>
>  user$ yourprogram > filelog
>
> 2006/3/17, Sumit Kumar Jain <sumitskj_20@xxxxxxxxx>:
> >
>  how can we log error messages for Glivusing error function like g_error()
> to a file and not printed to the console?
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux