Internet Direct (Indy)
Home
PreviousUpNext
TIdLogFile.Filename Property

File used to store messages written using the logging intercept.

Pascal
property Filename: String;

Filename is a TFilename property that represent the fully-qualified file name to use as storage for messages written using the logging intercept. 

Filename is use in Open to create an internal TIdStreamVCL instance used to write message to the file. 

Changing the value in the Filename can result in an EIdException being raised when the internal TIdStreamVCL instance has already been allocated by calling Open

Use Close to close the file and stream used for messages written using the logging intercept.

Exceptions 
Description 
With the message in RSLogFileAlreadyOpen
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.