365 {
366
368
369 list<string>::const_iterator itr;
370
373 ofs << " " << *itr << '\n';
374 }
375
378 ofs << " " << *itr << '\n';
379 }
380
383 ofs << " " << *itr << '\n';
384 }
385
389
390 ofs <<
"Runs: " <<
m_runs <<
'\n';
391
392
393 ofs << "Message Count: " << '\n';
394 ofs <<
" FATAL: " <<
msgSvc()->messageCount( MSG::FATAL ) <<
'\n';
395 ofs <<
" ERROR: " <<
msgSvc()->messageCount( MSG::ERROR ) <<
'\n';
396 ofs <<
" WARNING: " <<
msgSvc()->messageCount( MSG::WARNING ) <<
'\n';
397 ofs <<
" INFO: " <<
msgSvc()->messageCount( MSG::INFO ) <<
'\n';
398
400
401 IntegerProperty
thresh(
"loggingLevel",MSG::VERBOSE);
402 IProperty *
ip =
dynamic_cast<IProperty*
>(
p_logMsg );
403 if (ip != nullptr) {
404 if (
ip->getProperty(&thresh).isFailure()) {
405 ATH_MSG_ERROR(
"could not get loggingLevel property of LoggedMessageSvc");
406 }
407 } else {
408 ATH_MSG_ERROR(
"could not dcast LoggedMessageSvc to IProperty");
409 }
410
411
412
413 ofs << "Message Log: " << '\n';
414 vector<pair<string,string> > msgs;
415 vector<pair<string,string> >::const_iterator mitr;
416 for (
unsigned int l=
thresh.value(); l < MSG::ALWAYS; l++) {
418 msgs =
p_logMsg->getMessages( MSG::Level(l) );
419 ofs << " " << msgs.size() << '\n';
420 for (mitr=msgs.begin(); mitr != msgs.end(); ++mitr) {
421 ofs << " " << mitr->first << " : " << mitr->second << '\n';
422 }
423 }
424
425 ofs << "Keyword tracked messages: " << '\n';
426 for (
const auto&
msg :
p_logMsg->getKeyMessages()) {
429 <<
" " <<
msg.message
430 << '\n';
431 }
432
433 }
434
436 ofs << "Extra Summary Info:" << '\n';
437 vector<pair<string,string> >::const_iterator itr (
m_extraInfo.begin() );
439 ofs << " " << itr->first << " : " << itr->second << '\n';
440 }
441 }
442
444 ofs << "Extra Incident Counts:" << '\n';
445 map<string, map<string,int> >::const_iterator itr(
m_extraIncidents.begin());
447 ofs << " " << itr->first;
448 if (itr->second.begin() == itr->second.end()) {
449 ofs << " : 0" << '\n';
450 } else {
451 for (map<string,int>::const_iterator it=itr->second.begin();
452 it != itr->second.end(); ++it) {
453 ofs <<
" :: " <<
it->first <<
":" <<
it->second;
454 }
455 ofs << '\n';
456 }
457 }
458 }
459
460 if (s_badalloc) {
461 ofs << "std::bad_alloc caught: out of memory condition detected"
462 << '\n';
463 }
464
465 ofs <<
"Exit Status: " <<
m_status <<
'\n';
466
467
468}
static constexpr std::string levelNames[MSG::NUM_LEVELS]
std::list< std::string > m_outputFilesError
unsigned int m_eventsWritten
std::list< std::string > m_inputFilesRead
std::list< std::string > m_outputFiles
ILoggedMessageSvc * p_logMsg
unsigned int m_eventsRead
unsigned int m_eventsSkipped
l
Printing final latex table to .tex output file.