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:
35
outcode.h
Normal file
35
outcode.h
Normal file
@ -0,0 +1,35 @@
|
||||
/* ------------------------------------------------------------------------
|
||||
The OutCode's for SICS have to be translated from text at several
|
||||
places in SICS. Wherever necessary such code should include this file.
|
||||
This restricts changes to Scommon.h and this file
|
||||
|
||||
Mark Koennecke, November 1996
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifndef POUTCODE
|
||||
#define POUTCODE
|
||||
|
||||
static char *pCode[] = {
|
||||
"internal",
|
||||
"command",
|
||||
"hwerror",
|
||||
"inerror",
|
||||
"status",
|
||||
"value",
|
||||
"start",
|
||||
"finish",
|
||||
"event",
|
||||
"warning",
|
||||
"error",
|
||||
"hdbvalue",
|
||||
"hdbevent",
|
||||
"log",
|
||||
"logerror",
|
||||
NULL
|
||||
};
|
||||
static int iNoCodes = 15;
|
||||
|
||||
const char* OutCodeToTxt(OutCode eOut);
|
||||
|
||||
int OutCodeFromText(const char *text, OutCode *outcode);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user