Event handler prototype for handling events.
Source position: sqldb.pp line 181
type TDBLogNotifyEvent = procedure( |
Sender: TSQLConnection; |
EventType: TDBEventType; |
const Msg: string |
) of object; |
Sender |
|
TSQLConnection instance that sent the event. |
EventType |
|
Event type. |
Msg |
|
Event message. Actual content depends on the type of message. |
TDBLogNotifyEvent is the prototype for the TSQLConnection.OnLog event handler and for the global GlobalDBLogHook event handling hook. Sender will contain the TSQLConnection instance that caused the event, EventType will contain the event type, and Msg will contain the actual message: the content depends on the type of the message.
|
Event handler for logging events. |
|
|
Global logging hook. |