1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/global/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/StreamID.h"
namespace edmtest {
class UnitTestClient_N : public edm::global::EDAnalyzer<> {
public:
explicit UnitTestClient_N(edm::ParameterSet const&) {}
void analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const override;
};
void UnitTestClient_N::analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const {
LogDebug("ridiculously_long_category_name_to_make_header_wrap_A") << "LogDebug was used to send this message";
LogDebug("ridiculously_long_category_name_to_make_header_wrap_B") << "LogDebug was used to send this other message";
edm::LogInfo("ridiculously_long_category_name_to_make_header_wrap_A") << "LogInfo was used to send this message";
edm::LogInfo("ridiculously_long_category_name_to_make_header_wrap_B")
<< "LogInfo was used to send this other message";
}
} // namespace edmtest
using edmtest::UnitTestClient_N;
DEFINE_FWK_MODULE(UnitTestClient_N);
|