|
|
Go to the documentation of this file. 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
std::vector< std::shared_ptr< ELstatistics > > statisticsDestControls
edm::propagate_const< std::shared_ptr< ELadministrator > > admin_p
MessageLoggerScribe(std::shared_ptr< ThreadQueue > queue)
— If queue is NULL, this sets singleThread true
bool clean_slate_configuration
void configure_statistics()
std::vector< edm::propagate_const< std::shared_ptr< std::ofstream > > > file_ps
void configure_errorlog()
~MessageLoggerScribe() override
void configure_ordinary_destinations()
std::vector< String > vString
void parseCategories(std::string const &s, std::vector< std::string > &cats)
void triggerStatisticsSummaries()
std::map< String, edm::propagate_const< std::ostream * > > stream_ps
edm::propagate_const< std::shared_ptr< PSet > > job_pset_p
std::vector< bool > statisticsResets
value_ptr< MessageLoggerDefaults > messageLoggerDefaults
edm::propagate_const< std::shared_ptr< ThreadQueue > > m_queue
void triggerFJRmessageSummary(std::map< std::string, double > &sm)
void configure_dest(std::shared_ptr< ELdestination > dest_ctrl, String const &filename)
T getAparameter(PSet const &p, std::string const &id, T const &def)
std::vector< String > ordinary_destination_filenames
int def(FILE *, FILE *, int)
void runCommand(MessageLoggerQ::OpCode opcode, void *operand) override
void log(ErrorObj *errorobj_p)
std::shared_ptr< ELdestination > early_dest