Mark Hutchinson wrote:
> Ok, thanks.
> However, I'm not sure this is quite what I'm looking for. I still want to
> record the error and the information on the General Tab (including custom
> data), but don't need the information on the other tabs such as the call
> stack. Really what I am trying to do is to minimize the size of the error
> file when it is emailed by exluding information that I do not need to save.
> If I understand correctly the method you have suggested will not record the
> exception at all.
Yes, it's so.
Currently to reduce the Log file size you can only choose if
include/exclude the Modules and CPU section via "Project/EurekaLog
Options.../Log File/Save Modules/CPU Section" or at run-time with the
EurekaExceptionRecord: TEurekaExceptionRecord; var Handled: Boolean);
with EurekaExceptionRecord do
if (ExceptionObject is YOUR_EXCEPTION_TYPE) then
(CurrentModuleOptions.LogOptions - [loSaveModulesSection] -
(CurrentModuleOptions.LogOptions + [loSaveModulesSection] +
Catch every BUG, every time!