1 #ifndef FWCore_MessageService_MessageLoggerScribe_h
2 #define FWCore_MessageService_MessageLoggerScribe_h
13 #include "boost/shared_ptr.hpp"
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<boost::shared_ptr<std::ofstream> >
file_ps;
245 #endif // FWCore_MessageService_MessageLoggerScribe_h
int def(FILE *, FILE *, int)
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_errorlog()
void configure_statistics()
std::vector< boost::shared_ptr< std::ofstream > > file_ps
std::vector< String > ordinary_destination_filenames
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()
std::vector< ELdestControl > statisticsDestControls
boost::shared_ptr< PSet > job_pset_p
void triggerStatisticsSummaries()
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
boost::shared_ptr< ELadministrator > admin_p
std::vector< String > vString
value_ptr< MessageLoggerDefaults > messageLoggerDefaults