Internet Direct (Indy) Version 9.0.1 Beta
TIdLogBase.Connect
Writes a log message when a connection is established.

procedure Connect(AConnection: TComponent); override;
Parameters
AConnection: TComponent
Component establishing the connection.

Description
Connect is a procedure used to write a log message when a connection is opened for the component in AConnection. The log message will contain an optional date, and the operation name. For example:


      01/01/20000 13:03:42: Connected.

    

Set LogTime to True to include date and time information in the log message.

Connect calls the inherited Connect method prior to generating the status message.