Internet Direct (Indy) Version 9.0.2 Beta
|
TIdLogBase = class(TIdConnectionIntercept)
TIdLogBase is a descendant of TIdConnectionIntercept. TIdLogBase implements inherited virtual methods to write text strings to a log when TIdSocketHandle operations are performed. These operations include connect, read, write, and disconnect.
Messages written to the log may optionally transform all EOL characters, (Carriage Return + Line Feed) by default, to the token '<EOL>'. A log message can optionally generate the date and time it was written to the log.
Note: TIdLogBase does not specify the destination for log messages. TIdLogBase descendants must implement the virtual methods in the class to resolve where log messages are stored, or written.
TIdLogBase is the ancestor class for the TIdLogDebug component. TIdLogDebug demonstrates an implementation that can store messages in a file stream or write messages to the standard Debugger Output.