MyService.cc
Go to the documentation of this file.
1 #include "MyService.h"
2 
5 
8 using namespace fhicl;
9 
11 {
12  mf::LogVerbatim("DEBUG")
13  << "Begin MyService::MyService(ParameterSet const& pset)";
14  auto const val = pset.to_indented_string();
15  mf::LogVerbatim("DEBUG") << "Contents of parameter set:";
16  mf::LogVerbatim("DEBUG") << "";
17  mf::LogVerbatim("DEBUG") << val;
18  for (auto const& key : pset.get_pset_names()) {
19  mf::LogVerbatim("DEBUG") << "key: " << key;
20  }
21 }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
MyService(MyProvider *ptr=nullptr)
std::vector< std::string > get_pset_names() const
def key(type, name=None)
Definition: graph.py:13
std::string to_indented_string() const
MyServiceTemplate< MyProvider > MyService