Hi,

I am using Gambas 2.21, on Debian Squeeze. I am trying to keep a log of the 
things my application does, for instance events like forms opening, errors can 
be logged.

I am thinking of using the SHELL with echo command to write to a log file. 

For example, using SHELL i would use:
SHELL "echo \"Form1 Entered\">>Logfile"

Could this cause the application to be a resource hog? The only other way I can 
think of to do logging is to use File I/O but that would be a lot of work when 
compated to using SHELL, plus I don't know it will prove to be more of a 
resource hog than using SHELL.

Help!

Thanks in advance,
Regards,
Vikram Nair



      
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to