Internet Direct (Indy) Version 9.0.1 Beta
TIdLogBase.Receive
Implements writing of stream-based messages to the logging destination for Receive operations.

procedure Receive(ABuffer: TStream); override;
Parameters
ABuffer: TStream
Stream containing the message to be logged.

Description
Receive is an overriden procedure in TIdLogBase that implements logging of message contents for the stream ABuffer for Receive operations. Receive calls the inherited method prior to constructing the contents of the log message from the input stream. Receive relies on a virutal method in the class to perform output of the log message to the logging destination.

When LogTime is True, the current date and time stamp is prepended to the log message.

When ReplaceCRLF is True, all instances of CR, LF, and EOL in the message are replaced with their tag counterparts, "<CR>", "<LF>", and "<EOL>".