Topic Path: Pending > TIdLogBase.Connect@TComponent

Writes a log message when a connection is established.

Component establishing the connection. 

Connect is a procedure used to write a log message when a connection is opened for the component in AConnection. 

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

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

Use Disconnect to close the logging intercept. 

Set Active to False to disable message logging on 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.