Topic Path: Symbol Reference > Classes > TIdLogBase Class > TIdLogBase Methods > Disconnect Method
TIdLogBase.Disconnect Method

Writes a log message and closes the logging intercept.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.