[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Global logging hook
Source position: sqldb.pp line 791
var GlobalDBLogHook: TDBLogNotifyEvent = ; |
GlobalDBLogHook can be set in addition to local TSQLConnection.Onlog event handlers. All connections will report events through this global event handler in addition to their OnLog event handlers. The global log event handler can be set only once, so when setting the handler, it is important to set up chaining: saving the previous value, and calling the old handler (if it was set) in the new handler.
|
Event handler for logging events |