Class TLog (unit MyLog)

Inherits from

TComponent

TLogItems ****************************************************************************** Type: TLog Ver: 1.0 Purpose: TLog Class

Constructors


constructor Create(AOwner: TComponent);

Public declarations

TLogItems.



Functions

destructor Destroy;

TLog.

procedure ViewLog;

procedure TLog.

function WriteLogError (Values : array of string): boolean;

function TLog.

function WriteLogInfo (Values : array of string): boolean;

function TLog.

function WriteLogProcess (Values : array of string): boolean;

function TLog.

function WriteLogWarning (Values : array of string): boolean;

function TLog.

function ReadLog (Grid: TStringGrid): boolean;

function TLog.

procedure SetFileName (Value: TFileName);

procedure TLog.

procedure SetItems (Value: TLogItems);

procedure TLog.

function WriteLog (LogMessage: integer; Values: array of string): boolean;

TLog.

Properties

property DeleteOnChange : boolean

Published 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;



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 : boolean

Published 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;