1 #ifndef FWCore_MessageService_MessageLoggerScribe_h 2 #define FWCore_MessageService_MessageLoggerScribe_h 83 class ELadministrator;
121 #define VALIDATE_ELSEWHERE // ChangeLog 11 128 t = p.template getUntrackedParameter<T>(
id,
def);
130 t = p.template getParameter<T>(
id);
131 std::cerr <<
"Tracked parameter " <<
id <<
" used in MessageLogger configuration.\n" 132 <<
"Use of tracked parameters for the message service " 133 <<
"is deprecated.\n" 134 <<
"The .cfg file should be modified to make this untracked.\n";
143 t = p.template getUntrackedParameter<T>(
id,
def);
147 #ifdef VALIDATE_ELSEWHERE 152 t = p.template getUntrackedParameter<T>(
id,
def);
155 t = p.template getParameter<T>(
id);
164 #else // Do not tolerate errors 169 t = p.template getUntrackedParameter<T>(
id,
def);
172 t = p.template getParameter<T>(
id);
178 std::cerr <<
"Tracked parameter " <<
id <<
" used in MessageLogger configuration.\n" 179 <<
"Use of tracked parameters for the message service " 180 <<
"is not allowed.\n" 181 <<
"The .cfg file should be modified to make this untracked.\n";
190 #endif // VALIDATE_ELSEWHERE 191 #endif // SIMPLESTYLE 192 #endif // OLD_STYLE and the else Do not tolerate errors 198 t = p->template getUntrackedParameter<T>(
id,
def);
209 std::vector<edm::propagate_const<std::shared_ptr<std::ofstream>>>
file_ps;
211 std::map<String, edm::propagate_const<std::ostream*>>
stream_ps;
229 #endif // FWCore_MessageService_MessageLoggerScribe_h
void log(ErrorObj *errorobj_p)
void configure_errorlog()
~MessageLoggerScribe() override
void configure_statistics()
std::vector< String > ordinary_destination_filenames
void runCommand(MessageLoggerQ::OpCode opcode, void *operand) override
std::map< String, edm::propagate_const< std::ostream * > > stream_ps
edm::propagate_const< std::shared_ptr< ELadministrator > > admin_p
void configure_ordinary_destinations()
void configure_dest(std::shared_ptr< ELdestination > dest_ctrl, String const &filename)
std::vector< bool > statisticsResets
std::vector< std::shared_ptr< ELstatistics > > statisticsDestControls
std::vector< edm::propagate_const< std::shared_ptr< std::ofstream > > > file_ps
std::shared_ptr< ELdestination > early_dest
void parseCategories(std::string const &s, std::vector< std::string > &cats)
edm::propagate_const< std::shared_ptr< PSet > > job_pset_p
void triggerStatisticsSummaries()
MessageLoggerScribe(std::shared_ptr< ThreadQueue > queue)
— If queue is NULL, this sets singleThread true
void triggerFJRmessageSummary(std::map< std::string, double > &sm)
T getAparameter(PSet const &p, std::string const &id, T const &def)
edm::propagate_const< std::shared_ptr< ThreadQueue > > m_queue
bool clean_slate_configuration
std::vector< String > vString
value_ptr< MessageLoggerDefaults > messageLoggerDefaults