Root > How to... > ...determinate if EurekaLog is active or not?

...determinate if EurekaLog is active or not?

Previous pageReturn to chapter overviewNext page   

We recommend to use IFDEF-checks, for example:


CurrentEurekaLogOptions. // ...


Alternatively there are functions (in EBase unit) like:


function IsEurekaLogInstalled: Boolean;
function IsEurekaLogActive: Boolean;
function IsEurekaLogActiveInThread(const AThreadID: Cardinal = 0): Boolean;



EBase unit can be included into any application - even without EurekaLog;
There is a difference between "project compiled without EurekaLog" (when checking EUREKALOG conditional symbol) and "project compiled with EurekaLog, but EurekaLog is not active" (when using functions).

Send feedback... Build date: 2021-10-15
Last edited: 2021-06-21
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: