1 #ifndef FWCore_MessageService_MessageLoggerScribe_h
2 #define FWCore_MessageService_MessageLoggerScribe_h
14 #include "boost/shared_ptr.hpp"
84 class ELadministrator;
131 #define VALIDATE_ELSEWHERE // ChangeLog 11
139 t = p.template getUntrackedParameter<T>(id,
def);
141 t = p.template getParameter<T>(id);
143 <<
" used in MessageLogger configuration.\n"
144 <<
"Use of tracked parameters for the message service "
145 <<
"is deprecated.\n"
146 <<
"The .cfg file should be modified to make this untracked.\n";
156 t = p.template getUntrackedParameter<T>(id,
def);
160 #ifdef VALIDATE_ELSEWHERE
166 t = p.template getUntrackedParameter<T>(id,
def);
169 t = p.template getParameter<T>(id);
178 #else // Do not tolerate errors
184 t = p.template getUntrackedParameter<T>(id,
def);
187 t = p.template getParameter<T>(id);
194 <<
" used in MessageLogger configuration.\n"
195 <<
"Use of tracked parameters for the message service "
196 <<
"is not allowed.\n"
197 <<
"The .cfg file should be modified to make this untracked.\n";
206 #endif // VALIDATE_ELSEWHERE
207 #endif // SIMPLESTYLE
208 #endif // OLD_STYLE and the else Do not tolerate errors
212 T getCategoryDefault (
PSet * p,
217 t = p->template getUntrackedParameter<T>(id,
def);
231 std::vector<boost::shared_ptr<std::ofstream> >
file_ps;
257 #endif // FWCore_MessageService_MessageLoggerScribe_h
virtual void runCommand(MessageLoggerQ::OpCode opcode, void *operand)
MessageLoggerScribe(boost::shared_ptr< ThreadQueue > queue)
— If queue is NULL, this sets singleThread true
void log(ErrorObj *errorobj_p)
void configure_default_fwkJobReport(ELdestControl &dest_ctrl)
boost::shared_ptr< ErrorLog > errorlog_p
void configure_errorlog()
void configure_statistics()
static ErrorLog * getErrorLog_ptr()
std::vector< boost::shared_ptr< std::ofstream > > file_ps
std::vector< String > ordinary_destination_filenames
void configure_fwkJobReports()
void configure_ordinary_destinations()
std::vector< bool > statisticsResets
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)
boost::shared_ptr< ThreadQueue > m_queue
virtual ~MessageLoggerScribe()
static ErrorLog * static_errorlog_p
std::string jobReportOption
std::vector< ELdestControl > statisticsDestControls
boost::shared_ptr< PSet > job_pset_p
void triggerStatisticsSummaries()
void triggerFJRmessageSummary(std::map< std::string, double > &sm)
ELadministrator * admin_p
T getAparameter(PSet const &p, std::string const &id, T const &def)
std::map< String, std::ostream * > stream_ps
void configure_external_dests()
void setStaticErrorLog_ptr()
bool clean_slate_configuration
std::vector< String > vString
value_ptr< MessageLoggerDefaults > messageLoggerDefaults