1 #ifndef FWCore_MessageService_MessageLoggerScribe_h
2 #define FWCore_MessageService_MessageLoggerScribe_h
82 class ELadministrator;
124 #define VALIDATE_ELSEWHERE // ChangeLog 11
132 t = p.template getUntrackedParameter<T>(id,
def);
134 t = p.template getParameter<T>(id);
136 <<
" used in MessageLogger configuration.\n"
137 <<
"Use of tracked parameters for the message service "
138 <<
"is deprecated.\n"
139 <<
"The .cfg file should be modified to make this untracked.\n";
149 t = p.template getUntrackedParameter<T>(id,
def);
153 #ifdef VALIDATE_ELSEWHERE
159 t = p.template getUntrackedParameter<T>(id,
def);
162 t = p.template getParameter<T>(id);
171 #else // Do not tolerate errors
177 t = p.template getUntrackedParameter<T>(id,
def);
180 t = p.template getParameter<T>(id);
187 <<
" used in MessageLogger configuration.\n"
188 <<
"Use of tracked parameters for the message service "
189 <<
"is not allowed.\n"
190 <<
"The .cfg file should be modified to make this untracked.\n";
199 #endif // VALIDATE_ELSEWHERE
200 #endif // SIMPLESTYLE
201 #endif // OLD_STYLE and the else Do not tolerate errors
205 T getCategoryDefault (
PSet * p,
210 t = p->template getUntrackedParameter<T>(id,
def);
222 std::vector<std::shared_ptr<std::ofstream> >
file_ps;
245 #endif // FWCore_MessageService_MessageLoggerScribe_h
std::shared_ptr< PSet > job_pset_p
virtual void runCommand(MessageLoggerQ::OpCode opcode, void *operand)
void log(ErrorObj *errorobj_p)
std::shared_ptr< ThreadQueue > m_queue
void configure_errorlog()
void configure_statistics()
std::vector< String > ordinary_destination_filenames
void configure_ordinary_destinations()
std::shared_ptr< ELadministrator > admin_p
std::vector< bool > statisticsResets
std::vector< std::shared_ptr< std::ofstream > > file_ps
std::vector< NamedDestination * > extern_dests
void configure_dest(ELdestControl &dest_ctrl, String const &filename)
void parseCategories(std::string const &s, std::vector< std::string > &cats)
virtual ~MessageLoggerScribe()
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)
std::map< String, std::ostream * > stream_ps
void configure_external_dests()
bool clean_slate_configuration
std::vector< String > vString
value_ptr< MessageLoggerDefaults > messageLoggerDefaults