threadsafelog LogToFile property
Return to Introduction  Previous page  Next page
Applies to
acThreadSafeLog component.  

property LogToFile: Boolean;  

The LogToFile property controls whether the component should append the logged text to specified FileName every time when application calls the Log method.  
iiinfo The component can put logged text to either, the specified file or to Memo control. Set LogToFile to True to store logged text to the file, or set it to False, if you don't want to store the logs to the file. If you just want to direct the output to the Memo control — point it to the Memo property and set LogToMemo to True.  

See also
FileName, Memo and LogToMemo properties;  
Log method.