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

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

Description
Send is an overriden procedure in TIdLogBase that implements logging of message contents for the stream ABuffer for Send operations. Send calls the inherited method prior to constructing the contents of the log message from the input stream. Send 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>".