Link to home
Start Free TrialLog in
Avatar of mirghani
mirghani

asked on

How to use idLogevent [indy ver 10.0.76]

hi all
do any one knows how to use idLogEvent or idLogFile or idLogDebug [indy ver 10.0.76 ].
i'm using delphi 7.
thanks
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Hi

I have indy 9 with Delphi 7, but it should work in the same way with Indy 10

procedure TForm1.Button1Click(Sender: TObject);
begin
  idLogFile1.Filename := 'c:\indy.log';
  idLogFile1.Active := True;

  Idhttp1.Intercept := idLogFile1;

  idHttp1.Get('http://www.google.com');
end;

Regards,
mohammed
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial