[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler for logging events
Source position: sqldb.pp line 254
published property TSQLConnection.OnLog : TDBLogNotifyEvent |
TSQLConnection can send events for all the actions that it performs: executing SQL statements, committ and rollback of transactions etc. This event handler must be set to react on these events: they can for example be written to a log file. Only events specified in the LogEvents property will be logged.
The events received by this event handler are specific for this connection. To receive events from all active connections in the application, set the global GlobalDBLogHook event handler.
|
Global logging hook |
|
|
Filter for events to log |