View Full Version : Cannot get OnCustomFieldsRequest event to work
Anonymous
05-May-2005, 06:43 AM
Hi.
I'm using EurekaLog 5.0 release. I want to add some custom information to exception report, but cannot get OnCustomFieldsRequest event to work. This event even doesn't call when exception raises. While OnCustomDataRequest event calls successfully.
Please help, what I'm doing wrong?
admin
07-May-2005, 11:05 AM
Hi.
I'm using EurekaLog 5.0 release. I want to add some custom information to exception report, but cannot get OnCustomFieldsRequest event to work. This event even doesn't call when exception raises. While OnCustomDataRequest event calls successfully.
Please help, what I'm doing wrong?
The Event OnCustomFieldsRequest is called only when EurekaLog post its log-file to a Web Server to fill a Web Form fields name/values.
To add your data you must use only the OnCustomDataRequest event adding all your needed data in the 'CustomData' parameter.
Example:
procedure TForm1.EurekaLog1CustomDataRequest(EurekaException Record: TEurekaExceptionRecord; var CustomData: String);
begin
CustomData := 'custom'#13#10'qqq=111';
end;
I hope to have answered to your question, otherwise don't hesitate to recontact me, ok? :)
--
Best regards...
Fabio Dell'Aria.
Unregistered
23-Sep-2010, 08:33 PM
In the latest version there is a bug.
The log contains a line for each custom data string I add, but the line is empty.
Alex
24-Sep-2010, 12:48 AM
Hi,
Can you tell us more details? Steps to reproduce the issue?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.