switching from black to white background for receiver

This commit is contained in:
Dhanya Maliakal
2017-11-28 11:18:30 +01:00
parent eb89e9bf96
commit a351fa8f28
17 changed files with 98 additions and 99 deletions

View File

@ -218,10 +218,9 @@ inline void Output2FILE::Output(const std::string& msg, TLogLevel level)
return;
bool out = true;
switch(level){
case logERROR: bprintf(RED BOLD,"%s",msg.c_str()); break;
case logWARNING: bprintf(YELLOW BOLD,"%s",msg.c_str()); break;
case logINFO: bprintf(GRAY,"%s",msg.c_str()); break;
// case logINFO: bprintf(DARKGRAY BOLD,"%s",msg.c_str());break;
case logERROR: cprintf(RED BOLD,"%s",msg.c_str()); break;
case logWARNING: cprintf(YELLOW BOLD,"%s",msg.c_str()); break;
case logINFO: cprintf(DARKGRAY,"%s",msg.c_str()); break;
default: fprintf(pStream,"%s",msg.c_str()); out = false; break;
}
fflush(out ? stdout : pStream);