Let iocLofDisable be dynamically changed

This commit is contained in:
Marty Kraimer
2002-12-12 19:00:24 +00:00
parent 97caf300d3
commit 1589c1c3ec
2 changed files with 4 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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*/