File indexing completed on 2024-04-06 12:12:48
0001 #include "FWCore/Framework/interface/Frameworkfwd.h"
0002 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0003 #include "FWCore/Framework/interface/MakerMacros.h"
0004 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0005 #include "FWCore/Utilities/interface/StreamID.h"
0006
0007 namespace edmtest {
0008
0009 class UnitTestClient_N : public edm::global::EDAnalyzer<> {
0010 public:
0011 explicit UnitTestClient_N(edm::ParameterSet const&) {}
0012
0013 void analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const override;
0014 };
0015
0016 void UnitTestClient_N::analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const {
0017 LogDebug("ridiculously_long_category_name_to_make_header_wrap_A") << "LogDebug was used to send this message";
0018 LogDebug("ridiculously_long_category_name_to_make_header_wrap_B") << "LogDebug was used to send this other message";
0019 edm::LogInfo("ridiculously_long_category_name_to_make_header_wrap_A") << "LogInfo was used to send this message";
0020 edm::LogInfo("ridiculously_long_category_name_to_make_header_wrap_B")
0021 << "LogInfo was used to send this other message";
0022 }
0023
0024 }
0025
0026 using edmtest::UnitTestClient_N;
0027 DEFINE_FWK_MODULE(UnitTestClient_N);