Run your program from the consol, and in the command line write the following:

user$ yourprogram > filelog

"yourprogram" will run the project you are working on, and the filelog is the file where the message will be stored (in the same directory you call your program).

2006/3/17, Sumit Kumar Jain <[EMAIL PROTECTED]>:
hi,
how can we log error messages for Glivusing error function like g_error() to a file and not printed to the console?

-sumit


Yahoo! Mail
Use Photomail to share photos without annoying attachments.


_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list





--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates: LIBRE)
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to