Skip to content

OnLog

event

Delphi
property OnLog: TOnLog read FOnLog write FOnLog;
C++Builder
__property TOnLog OnLog = {read=FOnLog, write=FOnLog};
typedef void __fastcall (__closure *TOnLog)(System::TObject* Sender, TLogType LogType, System::UnicodeString Severity, System::UnicodeString InfoMsg);
C#
public event OnLogEventHandler OnLog;
public delegate void OnLogEventHandler(object sender, TOnLogEventArgs e);
VB.NET
Public Event OnLog As OnLogEventHandler
Public Delegate Sub OnLogEventHandler(sender As Object, e As TOnLogEventArgs)
C++/Qt
void SetOnLog (TOnLogCb OnLogCb);
typedef void CALLBACK TOnLogCb (void *Object, void *Sender, TLogType LogType, wchar_t *Severity, wchar_t *InfoMsg);

returns information, warning and error messages. See also TOnLog and GetLogString.