Enumerations | |
enum | LogLevel { kDebug, kInfo, kWarning, kError } |
Functions | |
const char * | levelName (LogLevel) |
std::ostream & | logger () |
LogLevel | presentLogLevel () |
void | setLogger (std::ostream *) |
void | setPresentLogLevel (LogLevel) |
Variables | |
const char *const | s_levelNames [] = { "Debug","Info", "Warning", "Error" } |
std::ostream * | s_logger = &std::cerr |
LogLevel | s_presentLevel = kInfo |
enum fwlog::LogLevel |
const char * fwlog::levelName | ( | LogLevel | iLevel | ) |
Definition at line 35 of file fwLog.cc.
References s_levelNames.
Referenced by MisalignmentScenarioBuilder::decodeMovements_().
{ return s_levelNames[iLevel]; }
std::ostream & fwlog::logger | ( | ) |
Definition at line 41 of file fwLog.cc.
References s_logger.
Referenced by edm::service::ELrecv(), evf::IPCManager::initialise(), and cscdqm::Configuration::printStats().
{ return *s_logger; }
LogLevel fwlog::presentLogLevel | ( | ) |
Definition at line 53 of file fwLog.cc.
References s_presentLevel.
Referenced by CmsShowNavigator::goTo(), CmsShowNavigator::setCurrentFile(), and CmsShowNavigator::updateFileFilters().
{ return s_presentLevel; }
void fwlog::setLogger | ( | std::ostream * | iNewLogger | ) |
void fwlog::setPresentLogLevel | ( | LogLevel | iLevel | ) |
Definition at line 56 of file fwLog.cc.
References s_presentLevel.
Referenced by CmsShowMain::CmsShowMain().
{ s_presentLevel=iLevel; }
const char* const fwlog::s_levelNames[] = { "Debug","Info", "Warning", "Error" } |
Definition at line 33 of file fwLog.cc.
Referenced by levelName().
std::ostream* fwlog::s_logger = &std::cerr |
Definition at line 39 of file fwLog.cc.
Referenced by logger(), and setLogger().
LogLevel fwlog::s_presentLevel = kInfo |
Definition at line 31 of file fwLog.cc.
Referenced by presentLogLevel(), and setPresentLogLevel().