/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageService/test/UnitTestService_H.cc
20 строк
652 B
Matti Kortelainen
Make empty and '*' debugModules to result in all debug messages to be printed
04 июн 2025, 21:41
04 июн 2025, 21:41
31e6f40
Код
Авторство
О чём код?
#ifdef EDM_ML_DEBUG #undef EDM_ML_DEBUG #endif #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h" namespace edmtest { class UnitTestService_H { public: UnitTestService_H(edm::ParameterSet const& iConfig, edm::ActivityRegistry& iRegistry) { iRegistry.watchPreSourceNextTransition( []() { LogDebug("cat_S") << "Message from watchPreSourceNextTransition"; }); } }; } // namespace edmtest #include "FWCore/ServiceRegistry/interface/ServiceMaker.h" DEFINE_FWK_SERVICE(edmtest::UnitTestService_H);