All Things Ubuntu Library Wiki
Ubuntu dedicated Object Pascal libraries
Brought to you by:
krisjacewicz
this function will log any text passed to it to a plain text file that is located in user's home directory and named same as the application's executable wile, with the ".logs" extenion. So for example if the application's executable file is called MyApplication then the log file will be named ~/MyApplication.logs
Function log(const logmsg: string): Boolean;
Returns false if log could not be written to log file. Otherwise returns true.