EurekaLog
Menu

EurekaLog 7 Manual

_IsEurekaLogActiveInThread - EurekaLog 7 Documentation

Specifies a custom thread activation handler.

Unit

EBase

Syntax

_IsEurekaLogActiveInThread: TIsEurekaLogActiveInThreadProc;

Value

Contains custom detection handler. Can not be nil.

Remarks

Do not call it. Call _IsEurekaLogActive function instead.

You can assign this variable to your own custom handler to be able control EurekaLog's per thread activation.

By default this handler is set by EThreadsManager unit.

Warning

If you change this variable to your own handler at any stage - do not forget to restore previous handler at opposite stage.

I.e. you need to save and restore handler.

See examples.

Examples

Example of trivial internal handler:

function CustomHandler: Boolean;
begin
 Result := False;
end;
var
SavedHandler: TIsEurekaLogActiveInThreadProc;
initialization
SavedHandler := _InternalError;
_IsEurekaLogActiveInThread:= CustomHandler;
finalization
_IsEurekaLogActiveInThread:= SavedHandler;

See also



Send feedback... Build date: 2015-09-24
Last edited: 2015-09-24
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: http://www.eurekalog.com/help/eurekalog/topic_var_ebase__iseurekalogactiveinthread.php