Method event handler for OnReportBeginGen/OnReportEndGen events.
Unit
Syntax
TELEvReportGenMeth = procedure(
AExceptionInfo: TEurekaExceptionInfo;
ALogBuilder: TObject;
var ACallNextHandler: Boolean
) of object;
Parameters
AExceptionInfo [in]
Information about exception.
ALogBuilder [in]
Log builder class.
AOptions [in]
Current EurekaLog options.
ACallNextHandler [out]
True (default) - call next registered event handler, False - do not call next event handler.
Remarks
This event is called before creating bug report. You can use this event to intercept creation of bug reports. The same event handler type is used for both OnReportBegtinGen and OnReportEndGen events.
ALogBuilder is TBaseLogBuilder instance. You need to use type cast.
Note |
A more convenient case of this type is declared in ELogBuilder unit. Use it instead of this type whenever possible. Type from ELogBuilder doesn't require you to use typecast. |
Caution! |
Event handlers registered via the |
Important! |
Any event is called from the context of exception thread, which may be not the main thread of application. Thus, it's highly recommended to avoid using any global-like data and to avoid access VCL objects. If you still need to do any of that - please use proper thread synchronization for globals and Synchronize method for VCL access. |
See also
| • | Event handler registration |
| Send feedback... |
Build date: 2026-10-21 Last edited: 2026-10-21 |
|
PRIVACY STATEMENT The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed. Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_EEvents_TELEvReportGenMeth |
|