Let iocLofDisable be dynamically changed
This commit is contained in:
@@ -219,6 +219,7 @@ LOCAL void logClientSendMessageInternal (logClientId id, const char *message)
|
||||
logClient *pClient = (logClient *) id;
|
||||
int status;
|
||||
|
||||
if (iocLogDisable) return;
|
||||
if (!message || *message==0) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
* Date: 080791
|
||||
*/
|
||||
|
||||
#ifndef INClogClienth
|
||||
#define INClogClienth 1
|
||||
#include "shareLib.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -37,3 +39,4 @@ epicsShareFunc void epicsShareAPI iocLogShow (unsigned level);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*INClogClienth*/
|
||||
|
||||
Reference in New Issue
Block a user