Further enhancements to the new logging system

I removed traceCommand because I needed a more fine grained control of what goes into
the log.
This commit is contained in:
2016-03-01 09:42:16 +01:00
parent 0da0380c8a
commit 40382b2b8c
9 changed files with 60 additions and 191 deletions

View File

@ -145,7 +145,7 @@ static void writeLog(char *logMessage)
}
/*----------------------------------------------------------------------------*/
static unsigned int logFilter(unsigned int severity, const char *subsystem)
unsigned int logFilter(unsigned int severity, const char *subsystem)
{
int status;
char buffer[1024];
@ -178,7 +178,7 @@ static unsigned int logFilter(unsigned int severity, const char *subsystem)
return 0;
}
/*=============================================================================*/
static void formatSeverity(unsigned int severity, char *buffer, unsigned int bufferLength)
void formatSeverity(unsigned int severity, char *buffer, unsigned int bufferLength)
{
static const char *severityText[] = {"FATAL",
"ERROR",