| Description | Hierarchy | Fields | Methods | Properties |
type TAdLog = class(TObject)
The log system class
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
procedure LoadFromFile(AFile:string); |
![]() |
procedure SaveToFile(AFile:string); |
![]() |
procedure AddMessage(AMessage:TAdLogMessage); virtual; |
![]() |
property Items: TStringList read FItems; |
![]() |
property AutoSave: boolean read FAutoSave write FAutoSave; |
![]() |
property FileName: string read FFileName write FFileName; |
![]() |
constructor Create; |
|
Creates an instance of TAdLog. | |
![]() |
destructor Destroy; override; |
|
Destroys the instance of TAdLog. | |
![]() |
procedure LoadFromFile(AFile:string); |
|
Loads the log file from a file. | |
![]() |
procedure SaveToFile(AFile:string); |
|
Stores the log file in a file. | |
![]() |
procedure AddMessage(AMessage:TAdLogMessage); virtual; |
|
Adds a new message to the log file. See also
| |
![]() |
property Items: TStringList read FItems; |
|
Allows access on the string list managed by TAdLog. | |
![]() |
property AutoSave: boolean read FAutoSave write FAutoSave; |
|
When true, all changes on the log file are automatically saved. | |
![]() |
property FileName: string read FFileName write FFileName; |
|
The file the log should be saved to. | |