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

Closes the log file and the connection for an intercept.

procedure Disconnect; override;

Disconnect is an overridden procedure in TIdInterceptSimLog used to close the log file in Filename, and allows the intercept for a Connection be closed. 

Disconnect frees the internal TIdStreamVCL instance used for the log file in Filename

Disconnect calls the inherited Disconnect method. 

Use Connect to open the log file for the intercept.

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