Indy 9 | Content | Index | Reference

TIdLogEvent
Hierarchy, Properties, Methods, Events, See Also, Unit: IdLogEvent
Implements an event-based logging class for data input and output, as well as status messages.

    TIdLogEvent = class(TIdLogBase)

Unit
IdLogEvent
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.

TIdLogEvent.OnReceived
TIdLogEvent, See Also
Represents the event handler for data receipt notifications.

    property OnReceived: TLogItemDataEvent;

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.

TIdLogEvent.OnSent
TIdLogEvent, See Also
Represents the event handler for data transmission notifications.

    property OnSent: TLogItemDataEvent;

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.

TIdLogEvent.OnStatus
TIdLogEvent, See Also
Represents the event handler for socket connection status notifications.

    property OnStatus: TLogItemStatusEvent;

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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.