File indexing completed on 2024-04-06 12:12:47
0001 #include "FWCore/MessageService/test/MLexampleModule_1.h"
0002 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0003 #include "FWCore/Framework/interface/MakerMacros.h"
0004
0005 #include <iostream>
0006 #include <string>
0007
0008 namespace edmtest {
0009
0010 void MLexampleModule_1::analyze(edm::StreamID,
0011 edm::Event const&
0012 ,
0013 edm::EventSetup const&
0014 ) const {
0015 std::string empty_;
0016 std::string file_ = "nameOfFile";
0017 LogDebug("cat_A") << "LogDebug was used to send this message";
0018 LogDebug("cat_B") << "LogDebug was used to send this other message";
0019 edm::LogError("cat_B") << "LogError was used to send this other message";
0020 edm::LogWarning("cat_A") << "LogWarning was used to send this message";
0021 edm::LogWarning("cat_B") << "LogWarning was used to send this other message";
0022 edm::LogInfo("cat_A") << "LogInfo was used to send this message";
0023 edm::LogInfo("cat_B") << "LogInfo was used to send this other message";
0024 edm::LogInfo("FwkTest") << "<Message>LogInfo was used to send a job report</Message>";
0025
0026 }
0027
0028 }
0029
0030 using edmtest::MLexampleModule_1;
0031 DEFINE_FWK_MODULE(MLexampleModule_1);