mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-13 22:18:41 +01:00
for now, leaving as before the background colors
This commit is contained in:
@@ -222,7 +222,8 @@ inline void Output2FILE::Output(const std::string& msg, TLogLevel level)
|
|||||||
switch(level){
|
switch(level){
|
||||||
case logERROR: cprintf(RED 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 logWARNING: cprintf(YELLOW BOLD,"%s",msg.c_str()); break;
|
||||||
case logINFO: cprintf(DARKGRAY BOLD,"%s",msg.c_str()); break;
|
case logINFO: cprintf(GRAY,"%s",msg.c_str());break;
|
||||||
|
// case logINFO: cprintf(DARKGRAY BOLD,"%s",msg.c_str());break;
|
||||||
default: fprintf(pStream,"%s",msg.c_str()); break;
|
default: fprintf(pStream,"%s",msg.c_str()); break;
|
||||||
}
|
}
|
||||||
fflush(pStream);
|
fflush(pStream);
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ int main(int argc, char *argv[]) {
|
|||||||
//Catch signal SIGINT to close files properly
|
//Catch signal SIGINT to close files properly
|
||||||
signal(SIGINT,closeFile);
|
signal(SIGINT,closeFile);
|
||||||
|
|
||||||
system("setterm -background white");
|
//system("setterm -linux term -background white -clear");
|
||||||
|
|
||||||
int ret = slsReceiverDefs::OK;
|
int ret = slsReceiverDefs::OK;
|
||||||
receiver = new slsReceiverUsers(argc, argv, ret);
|
receiver = new slsReceiverUsers(argc, argv, ret);
|
||||||
|
|||||||
Reference in New Issue
Block a user