TIdLogEvent
Implements an event-based logging class for data input and output, as well as status messages.
Unit
Description
TIdLogEvent is a
TIdLogBase descendant that extends the Indy logging framework to include support for event-based notifications of input/output or status change notifications.
TIdLogEvent publishes event handlers for data receipt and transmission, as well as an event handler for notifications in the socket connection state.
Represents the event handler for data receipt notifications.
Parameters
AData
Values affected by the operation.
ASender
Component generating the event notification.
AText
Indicates the operation performed on the
socket connection.
Description
OnReceived is a
TLogItemDataEvent event handler that represents the event handler for data receipt notifications. Applications must assign a procedure to the event handler in order to respond to the event notification.
Represents the event handler for data transmission notifications.
Parameters
AData
Values affected by the operation.
ASender
Component generating the event notification.
AText
Indicates the operation performed on the
socket connection.
Description
OnSent is a
TLogItemDataEvent event handler that represents the event handler for data transmission notifications. Applications must assign a procedure to the event handler in order to respond to the event notification.
Represents the event handler for
socket connection status notifications.
Parameters
ASender
Component generating the event notification.
AText
Indicates the status message for the
socket connection.
Description
OnStatus is a
TLogItemStatusEvent event handler that represents the event handler for
socket connection status notifications. Applications must assign a procedure to the event handler in order to respond to the event notification.