Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDBLogNotifyEvent

Event handler prototype for handling events.

Declaration

Source position: sqldb.pp line 181

type TDBLogNotifyEvent = procedure(

  Sender: TSQLConnection;

  EventType: TDBEventType;

  const Msg: string

) of object;

Arguments

Sender

  

TSQLConnection 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 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.

See also

TSQLConnection.OnLog

  

Event handler for logging events.

GlobalDBLogHook

  

Global logging hook.


Documentation generated on: Nov 23 2024