TApxDebugLog.DumpLog

TApxDebugLog

procedure DumpLog;

Dumps log data to the specified file.

DumpLog cycles through all items in the buffer, generates appropriate log entries for each item, and writes the entries to the file specified by the FileName property. If the file does not exist, one is created. If the file exists, DumpLog's behavior is determined by the WriteMode property.

DumpLog also clears the internal buffer.

See also: ClearBuffer, TApxBaseLog.FileName, WriteMode