/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageService/test/MLexampleModule_1.cc
31 строка
1 KB
Chris Jones
Remove use of legacy module classes from framework tests
05 окт 2021, 17:09
05 окт 2021, 17:09
9c36c49
Код
Авторство
О чём код?
#include "FWCore/MessageService/test/MLexampleModule_1.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/MakerMacros.h" #include <iostream> #include <string> namespace edmtest { void MLexampleModule_1::analyze(edm::StreamID, edm::Event const& /*unused*/ , edm::EventSetup const& /*unused*/ ) const { std::string empty_; std::string file_ = "nameOfFile"; LogDebug("cat_A") << "LogDebug was used to send this message"; LogDebug("cat_B") << "LogDebug was used to send this other message"; edm::LogError("cat_B") << "LogError was used to send this other message"; edm::LogWarning("cat_A") << "LogWarning was used to send this message"; edm::LogWarning("cat_B") << "LogWarning was used to send this other message"; edm::LogInfo("cat_A") << "LogInfo was used to send this message"; edm::LogInfo("cat_B") << "LogInfo was used to send this other message"; edm::LogInfo("FwkTest") << "<Message>LogInfo was used to send a job report</Message>"; } // MessageLoggerClient::analyze() } // namespace edmtest using edmtest::MLexampleModule_1; DEFINE_FWK_MODULE(MLexampleModule_1);