CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
edm::service::MessageLoggerDefaults Struct Reference

#include <MessageLoggerDefaults.h>

Classes

struct  Category
 
struct  Destination
 

Public Member Functions

void hardwireAnalysisJobMode ()
 
void hardwireGridJobMode ()
 
void hardwireNilJobMode ()
 
void hardwireReleaseValidationJobMode ()
 
int limit (std::string const &dest, std::string const &cat)
 
 MessageLoggerDefaults (edm::JobMode mode=GridJobMode)
 
std::string output (std::string const &dest)
 
int reportEvery (std::string const &dest, std::string const &cat)
 
int sev_limit (std::string const &dest, std::string const &sev)
 
int sev_reportEvery (std::string const &dest, std::string const &sev)
 
int sev_timespan (std::string const &dest, std::string const &sev)
 
std::string threshold (std::string const &dest)
 
int timespan (std::string const &dest, std::string const &cat)
 

Static Public Member Functions

static edm::JobMode mode (std::string const &jm)
 

Public Attributes

std::vector< std::string > categories
 
std::map< std::string,
Destination
destination
 
std::vector< std::string > destinations
 
std::vector< std::string > fwkJobReports
 
std::vector< std::string > statistics
 

Static Public Attributes

static const int NO_VALUE_SET = -45654
 

Detailed Description

Definition at line 69 of file MessageLoggerDefaults.h.

Constructor & Destructor Documentation

edm::service::MessageLoggerDefaults::MessageLoggerDefaults ( edm::JobMode  mode = GridJobMode)
inlineexplicit

Definition at line 124 of file MessageLoggerDefaults.h.

References edm::AnalysisJobMode, assert(), edm::GridJobMode, hardwireAnalysisJobMode(), hardwireGridJobMode(), hardwireNilJobMode(), hardwireReleaseValidationJobMode(), mode(), edm::NilJobMode, and edm::ReleaseValidationJobMode.

124  {
125  // mode-independent defaults
126 
127  // mode-dependent defaults
128  switch (mode) {
129  // GridJobMode: Intended for automated batch-like processing, in which
130  // the output stream for cerr is routed to an apropro
131  // file. LogInfo messages are enabled, and at least
132  // one such message is delivered from the framework per
133  // event, so this mode is not suitable for many-Hz light
134  // event processing.
135  case GridJobMode:
137  break;
140  break;
141  case AnalysisJobMode:
143  break;
144  case NilJobMode:
146  break;
147  default:
148  // this should never happen! No user error can get here.
149  bool Invalid_JobMode_in_ctor_of_MessageLoggerDefaults = false;
150  assert (Invalid_JobMode_in_ctor_of_MessageLoggerDefaults);
151  } // end of switch on mode
152  }
assert(m_qm.get())
static edm::JobMode mode(std::string const &jm)

Member Function Documentation

void MessageLoggerDefaults::hardwireAnalysisJobMode ( )

Definition at line 155 of file HardwiredDefaults.cc.

Referenced by MessageLoggerDefaults().

void MessageLoggerDefaults::hardwireGridJobMode ( )

Definition at line 47 of file HardwiredDefaults.cc.

Referenced by MessageLoggerDefaults().

void MessageLoggerDefaults::hardwireNilJobMode ( )

Definition at line 197 of file HardwiredDefaults.cc.

Referenced by MessageLoggerDefaults().

void MessageLoggerDefaults::hardwireReleaseValidationJobMode ( )

Definition at line 101 of file HardwiredDefaults.cc.

Referenced by MessageLoggerDefaults().

int MessageLoggerDefaults::limit ( std::string const &  dest,
std::string const &  cat 
)

Definition at line 62 of file MessageLoggerDefaults.cc.

edm::JobMode MessageLoggerDefaults::mode ( std::string const &  jm)
static

Definition at line 34 of file HardwiredDefaults.cc.

Referenced by MessageLoggerDefaults().

std::string MessageLoggerDefaults::output ( std::string const &  dest)

Definition at line 48 of file MessageLoggerDefaults.cc.

int MessageLoggerDefaults::reportEvery ( std::string const &  dest,
std::string const &  cat 
)

Definition at line 109 of file MessageLoggerDefaults.cc.

int MessageLoggerDefaults::sev_limit ( std::string const &  dest,
std::string const &  sev 
)

Definition at line 203 of file MessageLoggerDefaults.cc.

int MessageLoggerDefaults::sev_reportEvery ( std::string const &  dest,
std::string const &  sev 
)

Definition at line 250 of file MessageLoggerDefaults.cc.

int MessageLoggerDefaults::sev_timespan ( std::string const &  dest,
std::string const &  sev 
)

Definition at line 297 of file MessageLoggerDefaults.cc.

std::string MessageLoggerDefaults::threshold ( std::string const &  dest)

Definition at line 28 of file MessageLoggerDefaults.cc.

int MessageLoggerDefaults::timespan ( std::string const &  dest,
std::string const &  cat 
)

Definition at line 156 of file MessageLoggerDefaults.cc.

Member Data Documentation

std::vector<std::string> edm::service::MessageLoggerDefaults::categories

Definition at line 94 of file MessageLoggerDefaults.h.

std::map<std::string,Destination> edm::service::MessageLoggerDefaults::destination

Definition at line 98 of file MessageLoggerDefaults.h.

std::vector<std::string> edm::service::MessageLoggerDefaults::destinations

Definition at line 95 of file MessageLoggerDefaults.h.

std::vector<std::string> edm::service::MessageLoggerDefaults::fwkJobReports

Definition at line 96 of file MessageLoggerDefaults.h.

const int edm::service::MessageLoggerDefaults::NO_VALUE_SET = -45654
static

Definition at line 71 of file MessageLoggerDefaults.h.

std::vector<std::string> edm::service::MessageLoggerDefaults::statistics

Definition at line 97 of file MessageLoggerDefaults.h.