Pascal Scripting: LogFmt

Prototype:

procedure LogFmt(const S: String; const Args: array of const);

Description:

Formats the string S using the series of arguments in the open array Args, and then logs it.

Example:
function OnDownloadProgress(const Url, FileName: String; const Progress, ProgressMax: Int64): Boolean;
begin
  LogFmt('%s->%s: %d/%d', [Url, FileName, Progress, ProgressMax]);
  Result := True;
end;
See also:

Log
Format