|
IsEurekaLogActiveInThread function |
|
|
EurekaLog includes a function called IsEurekaLogActiveInThread, that enables you to check the EurekaLog state in a specified thread.
Syntax of this function is as follows:
function IsEurekaLogActiveInThread(ThreadID: DWord): Boolean;
The ThreadID parameter indicates the Thread ID.
Example:
uses ExceptionLog; // The required unit...
begin ... OK := IsEurekaLogActiveInThread(GetCurrentThreadID); // Get the state of EurekaLog in current Thread. ... end; |