Data.SqlExpr.TSQLMonitor.SaveToFile
Delphi
procedure SaveToFile(AFileName: string);
C++
void __fastcall SaveToFile(System::UnicodeString AFileName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLMonitor |
Description
Saves the contents of TraceList to a file.
Call SaveToFile to save all of the currently logged messages to a file.
AFileName specifies the file to which the strings in TraceList are saved. If AFileName is an empty string, SaveToFile uses the value of the FileName property.
Note: If the AutoSave property is true, SaveToFile is called automatically whenever a message is added to TraceList.