47 using namespace edm::service;
50 : printTestMessageLoggerErrors_(iPS.getUntrackedParameter<bool>(
"printTestMessageLoggerErrors")) {
66 desc.
addUntracked<
bool>(
"printTestMessageLoggerErrors",
false)
67 ->setComment(
"Prints MessageLogger errors to test formatting of such messages when printed from Services");
68 descriptions.
add(
"TestService", desc);
73 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preBeginProcessBlock";
79 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preEndProcessBlock";
85 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preGlobalBeginRun";
91 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preGlobalEndRun";
97 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preGlobalBeginLumi";
103 edm::LogError(
"TestMessageLogger") <<
"test message from TestService::preGlobalEndLumi";
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void preGlobalBeginLumi(GlobalContext const &)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
Log< level::Error, false > LogError
bool printTestMessageLoggerErrors_
void preGlobalEndLumi(GlobalContext const &)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void preEndProcessBlock(GlobalContext const &)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
#define DEFINE_FWK_SERVICE(type)
void preGlobalEndRun(GlobalContext const &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TestService(const ParameterSet &, ActivityRegistry &)
void preBeginProcessBlock(GlobalContext const &)
void preGlobalBeginRun(GlobalContext const &)
static void fillDescriptions(edm::ConfigurationDescriptions &)