Sign in Join
FPDoc Onlineexperiment

TDBLogNotifyEvent procedure type

In unit SQLDB

Event handler prototype for handling events.

Declaration

pascal
TDBLogNotifyEvent = procedure(Sender: TSQLConnection; 
 EventType: TDBEventType; 
 const Msg: string) of object

Arguments

SenderTSQLConnection instance that sent the event.
EventType

Event type.

Msg

Event message. Actual content depends on the type of message.

Description

TDBLogNotifyEvent is the prototype for the 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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.