Internet Direct (Indy)
Home
PreviousUpNext
TIdInterceptSimLog.Connect Method
Pascal
procedure Connect(
    AConnection: TIdNativeComponent
); override;
Parameters 
Description 
AConnection 
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.

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.