| Class TLog (unit MyLog) |
TComponent
TLogItems ****************************************************************************** Type: TLog Ver: 1.0 Purpose: TLog Class
| Constructors |
constructor Create(AOwner: TComponent);TLogItems.
| Functions |
destructor Destroy;
procedure ViewLog;
function WriteLogError (Values : array of string): boolean;
function WriteLogInfo (Values : array of string): boolean;
function WriteLogProcess (Values : array of string): boolean;
function WriteLogWarning (Values : array of string): boolean;
function ReadLog (Grid: TStringGrid): boolean;
procedure SetFileName (Value: TFileName);
procedure SetItems (Value: TLogItems);
function WriteLog (LogMessage: integer; Values: array of string): boolean;| Properties |
property DeleteOnChange : boolean
property FileName : TFileName
property FormHeight : integer
property FormWidth : integer
property Information : Cardinal
property Items : TLogItems
property Separator : char| Events |
| Variables |
FCSVSeparator : char;
FDeleteOnChange : boolean;
FFileName : TFileName;
FHeight : integer;
FInformation : Cardinal;
FItems : TLogItems;
FWidth : integer;| Constructors |
constructor Create(AOwner: TComponent);Public declarations
TLogItems.GetOwner ****************************************************************************** Constructor: TLog.Create Ver: 1.0 Purpose: TLog Constructor
| Functions |
destructor Destroy;TLog.Create ****************************************************************************** Destructor: TLog.Destroy Ver: 1.0 Purpose: TLog Destructor
procedure ViewLog;procedure TLog.ReadLog ****************************************************************************** Procedure: TLog.ViewLog; Ver: 1.0 Purpose: Show Log Window
function WriteLogError (Values : array of string): boolean;function TLog.WriteLogInfo
function WriteLogInfo (Values : array of string): boolean;function TLog.WriteLog ****************************************************************************** Function: TLog.WriteLogInfo, TLog.WriteLogError, TLog.WriteWaring, TLog.Writeprocess Ver: 1.0 Purpose: Simple wrapper for Log writing
function WriteLogProcess (Values : array of string): boolean;function TLog.WriteLogWarning
function WriteLogWarning (Values : array of string): boolean;function TLog.WriteLogError
function ReadLog (Grid: TStringGrid): boolean;function TLog.WriteLogProcess ****************************************************************************** Function: TLog.ReadLog Ver: 1.0 Purpose: Read Log file
procedure SetFileName (Value: TFileName);procedure TLog.ViewLog ****************************************************************************** Property: TLog Properties Ver: 1.0 Purpose:
procedure SetItems (Value: TLogItems);procedure TLog.SetFileName
function WriteLog (LogMessage: integer; Values: array of string): boolean;TLog.Destroy ****************************************************************************** Function: TLog.WriteLog Ver: 1.0 Purpose: Write a log message
| Properties |
property DeleteOnChange : booleanPublished declarations
property FileName : TFileName
property FormHeight : integer
property FormWidth : integer
property Information : Cardinal
property Items : TLogItems
property Separator : char| Events |
| Variables |
FCSVSeparator : char;
FDeleteOnChange : boolean;
FFileName : TFileName;
FHeight : integer;
FInformation : Cardinal;Private declarations
FItems : TLogItems;
FWidth : integer;