This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
This commit is contained in:
5
simev.c
5
simev.c
@ -43,10 +43,9 @@
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
#include <strlutil.h>
|
||||
|
||||
#include "logv2.h"
|
||||
#include "fortify.h"
|
||||
#include "conman.h"
|
||||
#include "servlog.h"
|
||||
#include "fortify.h"
|
||||
|
||||
#include "evdriver.h"
|
||||
@ -200,7 +199,7 @@ static int SimFix(pEVDriver self, int iError)
|
||||
return DEVREDO;
|
||||
}
|
||||
|
||||
SICSLogWrite("Simulated Environment device dying randomly", eHWError);
|
||||
Log(ERROR,"dev","%s","Simulated Environment device dying randomly");
|
||||
if (fRand < 0.3333) {
|
||||
return DEVOK;
|
||||
} else if (fRand < 0.66666) {
|
||||
|
Reference in New Issue
Block a user