Menu

log

Krzysztof Kamil Jacewicz

[ATUlib]: log

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 header

Function log(const logmsg: string): Boolean;

Parameters

  • logmsg - a string with text to be logged.

Result

Returns false if log could not be written to log file. Otherwise returns true.


Related

Wiki: ATUlib

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.