GetLogString
Delphi
function GetLogString (Value: TLogType): string;
C++Builder
System::UnicodeString __fastcall GetLogString(TLogType Value);
C#
public string GetLogString(TLogType Value);
VB.NET
Public Function GetLogString(Value As TLogType) As String
C++/Qt
wchar_t * GetLogString (TLogType Value);
Returns a TLogType value (returned by the OnLog event) as a string
Remarks
Used to retrieve the string value of the TLogType parameter returned by the OnLog event.
E.g.
procedure TForm1.VideoGrabberLog (Sender: TObject; LogType: TLogType; Severity, InfoMsg: String); var sLog: string; begin sLog := VideoGrabber.GetLogString (LogType)); Memo1.Lines.Add (sLog); end;