Topic Path: Symbol Reference > Classes > TIdInterceptSimLog Class > TIdInterceptSimLog Methods > Connect Method
TIdInterceptSimLog.Connect Method
procedure Connect(
    AConnection: TIdNativeComponent
); override;
Connection for the log file intercept. 

Connect is an overridden procedure used to establish the Connection for the log file intercept. 

Connect calls the inherited Connect method. 

Connect creates an internal TIdStreamVCL used to write log file entries. The stream instance relies on a TFileStream for the file indicated in Filename, and is recreated each time the Connect method is executed. 

Warning! Connect will overwrite an existing file. 

Use Disconnect to free the TIdStream instance and close the connection for the log file intercept.

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