Internet Direct (Indy)
Home
PreviousUpNext
TIdLogStream Class

Implements an Indy logging intercept using stream-based storage for log messages.

Pascal
TIdLogStream = class(TIdLogBase);

TIdLogStream is a TIdLogBase descendant that implements an Indy logging intercept using stream-based storage for data. TIdLogStream implements InputStream and OutputStream properties used as the targets for incoming and outgoing data from the logging intercept. 

TIdLogStream provides overridden protected methods that implement passing incoming and outgoing data to the assigned InputStream and OutputStream properties. 

TIdLogStream also specifies an overriden protected method that writes status messages for logging send and receive operations using the logging class instance. It is an empty implementation. Descendant classes must reimplement the method to specify the destination for status messages. 

TIdLogStream simply forwards the data for Send and Receive methods to the appropriate stream. No textual messages or date/timestamp values are included the values written to the input or output streams.

TIdLogBase 

TIdLogStream.InputStream 

TIdLogStream.OutputStream

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.