Internet Direct (Indy)
Home
PreviousUpNext
TIdLogBase.Active Property

Starts or stops logging of messages for the intercept.

Pascal
property Active: Boolean;

Active is a Boolean property used to start or stop logging of messages when using methods that alter the connection state or input/output buffer for the intercept. 

Set Active to True to begin message logging. The logging destination will be Opened if it is currently Closed. Set Active to False to stop message logging. The logging destination will be Closed if it is currently Active. 

Active is also used in overridden methods to determine if the logging intercept should call the inhertied method and write logging messages to indicate the action performed. 

The default value for the Active property is False, but can be overridden when the compent is loaded in the VCL component streaming architecture. 

Active is set to False when the component is freed in Destroy.

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.