1 #ifndef FWCore_MessageService_MessageLoggerScribe_h
2 #define FWCore_MessageService_MessageLoggerScribe_h
83 class ELadministrator;
125 #define VALIDATE_ELSEWHERE // ChangeLog 11
133 t = p.template getUntrackedParameter<T>(id,
def);
135 t = p.template getParameter<T>(id);
137 <<
" used in MessageLogger configuration.\n"
138 <<
"Use of tracked parameters for the message service "
139 <<
"is deprecated.\n"
140 <<
"The .cfg file should be modified to make this untracked.\n";
150 t = p.template getUntrackedParameter<T>(id,
def);
154 #ifdef VALIDATE_ELSEWHERE
160 t = p.template getUntrackedParameter<T>(id,
def);
163 t = p.template getParameter<T>(id);
172 #else // Do not tolerate errors
178 t = p.template getUntrackedParameter<T>(id,
def);
181 t = p.template getParameter<T>(id);
188 <<
" used in MessageLogger configuration.\n"
189 <<
"Use of tracked parameters for the message service "
190 <<
"is not allowed.\n"
191 <<
"The .cfg file should be modified to make this untracked.\n";
200 #endif // VALIDATE_ELSEWHERE
201 #endif // SIMPLESTYLE
202 #endif // OLD_STYLE and the else Do not tolerate errors
206 T getCategoryDefault (
PSet * p,
211 t = p->template getUntrackedParameter<T>(id,
def);
223 std::vector<edm::propagate_const<std::shared_ptr<std::ofstream>>>
file_ps;
226 std::map<String,edm::propagate_const<std::ostream*>>
stream_ps;
246 #endif // FWCore_MessageService_MessageLoggerScribe_h
std::map< String, edm::propagate_const< std::ostream * > > stream_ps
virtual void runCommand(MessageLoggerQ::OpCode opcode, void *operand)
void log(ErrorObj *errorobj_p)
void configure_errorlog()
void configure_statistics()
std::vector< String > ordinary_destination_filenames
edm::propagate_const< std::shared_ptr< ELadministrator > > admin_p
void configure_ordinary_destinations()
std::vector< bool > statisticsResets
std::vector< NamedDestination * > extern_dests
std::vector< edm::propagate_const< std::shared_ptr< std::ofstream > > > file_ps
void configure_dest(ELdestControl &dest_ctrl, String const &filename)
void parseCategories(std::string const &s, std::vector< std::string > &cats)
virtual ~MessageLoggerScribe()
edm::propagate_const< std::shared_ptr< PSet > > job_pset_p
std::vector< ELdestControl > statisticsDestControls
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)
void configure_external_dests()
edm::propagate_const< std::shared_ptr< ThreadQueue > > m_queue
bool clean_slate_configuration
std::vector< String > vString
value_ptr< MessageLoggerDefaults > messageLoggerDefaults