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:
4
logv2.c
4
logv2.c
@ -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",
|
||||
|
Reference in New Issue
Block a user