22 colors.push_back(std::string(
"\033[94m"));
23 colors.push_back(std::string(
"\033[92m"));
24 colors.push_back(std::string(
"\033[93m"));
25 colors.push_back(std::string(
"\033[95m"));
27 colors.push_back(std::string(
"\033[33m"));
28 colors.push_back(std::string(
"\033[91m"));
30 colors.push_back(std::string(
"\033[0m"));
46 const int OUTLEVEL = opt -> logOutputLevel();
47 if (level<OUTLEVEL)
return;
48 log ( level, msg, call);
59 timeinfo = localtime ( &rawtime );
60 char* timechar = asctime (timeinfo) ;
61 std::string timing = std::string(timechar,24) +
" ";
84 int clen=call.length();
167 std::cout << output << std::endl;
168 (*
application() -> options() -> stream ()) << output << std::endl; ;
170 if (isFatal) {exit(0);}
MsgSvc()
Standard constructor.
virtual ~MsgSvc()
Destructor.
std::vector< std::string > colors
void log(MsgSvc::MsgLevel, std::string, std::string)
void msgSvc(MsgSvc::MsgLevel, std::string, std::string call=std::string(""))