Internet Direct (Indy) Version 9.0.1 Beta
TIdLogBase.Disconnect
Writes a log message and closes a connection.

procedure Disconnect; override;
Description
Disconnect is a procedure used to write a log message when a connection is closed. The log message will contain an optional date, and the operation name. For example:


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

    

Set LogTime to True to include date and time information in the log message. Connect relies on a virtual ethod to perform formatting and output of messages to the log.

Disconnect calls the inherited Disconnect method to reset the component that owns the connection.