OnLog occurs when debug information is available.
type TAdsLogEvent = procedure ( Sender : TObject;
log : String ) of object;
property OnLog : TAdsLogEvent;
Write an OnLog event handler to receive debug information about internal activities and any exceptions that may occur in the TAdsEvent component.
This event is called using the TThread.Synchronize method, which means the main Delphi VCL thread will not be able to interact with the user interface while executing this event. The OnLog event handler should be kept short and efficient.