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:
@ -45,9 +45,9 @@
|
||||
#include <strlutil.h>
|
||||
#include "fortify.h"
|
||||
#include "conman.h"
|
||||
#include "servlog.h"
|
||||
#include "stringdict.h"
|
||||
#include "event.h"
|
||||
#include "logv2.h"
|
||||
typedef struct __VelSelDriv *pVelSelDriv;
|
||||
|
||||
#include "velodriv.h"
|
||||
@ -190,7 +190,7 @@ static int SimFix(pVelSelDriv self, int iError)
|
||||
return VELOREDO;
|
||||
}
|
||||
|
||||
SICSLogWrite("Selector dying randomly", eHWError);
|
||||
Log(ERROR,"dev","%s","Selector dying randomly");
|
||||
if (fRand < 0.3333) {
|
||||
return VELOOK;
|
||||
} else if (fRand < 0.66666) {
|
||||
|
Reference in New Issue
Block a user