- Author
- Frederic Machefert
- Date
- 2009-12-30
Definition at line 21 of file MsgSvc.h.
Definition at line 69 of file MsgSvc.cpp.
References application(), BLUE, colors, CYAN, DEBUG, ERR, FATAL, GREEN, INFO, logtime(), m_callSize, MAGENTA, RED, VERBOSE, WARNING, WHITE, and YELLOW.
Referenced by msgSvc(), and setCallSize().
84 int clen=call.length();
167 std::cout << output << std::endl;
168 (*
application() -> options() -> stream ()) << output << std::endl; ;
170 if (isFatal) {exit(0);}
std::vector< std::string > colors
void MsgSvc::msgSvc |
( |
MsgSvc::MsgLevel |
level, |
|
|
std::string |
msg, |
|
|
std::string |
call = std::string("") |
|
) |
| |
Definition at line 42 of file MsgSvc.cpp.
References application(), log(), and Application::options().
Referenced by Object::debug(), var::debug(), DLLMgr::debug(), DLL::debug(), Object::error(), export_base(), Object::fatal(), var::fatal(), DLLMgr::fatal(), DLL::fatal(), Object::info(), var::info(), DLLMgr::info(), DLL::info(), Object::msg(), DLL::msg(), Object::msgSvc(), Options::print(), Object::verbose(), var::verbose(), DLLMgr::verbose(), DLL::verbose(), Object::warning(), var::warning(), DLLMgr::warning(), and DLL::warning().
46 const int OUTLEVEL = opt -> logOutputLevel();
47 if (level<OUTLEVEL)
return;
48 log ( level, msg, call);
void log(MsgSvc::MsgLevel, std::string, std::string)