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

property MaxSize: Cardinal; // in KB!  

The MaxSize property used to set size limit, in kilobytes unit, of the log file.  
When size of the log file reaches specified value, the component triggers OnMaxSizeReached event and automatically clears the log both in file and the memo control.  
tip If MaxSize is 0, the log can have any size (unlimited).  

See also
ClearLog method;  
OnMaxSizeReached event.