Internet Direct (Indy)
Home
PreviousUpNext
TIdLogBase.Disconnect Method

Writes a log message and closes the logging intercept.

Pascal
procedure Disconnect; override;

Disconnect is a procedure used to write a log message when a connection is closed for the intercept. 

When Active contains True, a log message is written to indicate the change in the connection state and the the inherited Disconnect method is called to close the intercept. 

The log message may contain an optional date and timestamp when LogTime contains True. 

Set Active to False to disable message logging on the intercept. 

Use Connect to establish the logging intercept.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.