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



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 <sumitskj_20 yahoo com>:
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
gtk-list gnome org
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)

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