14 std::ostringstream longDesc;
16 LogAbsolute(shortDesc) <<
"----- Begin " << shortDesc <<
" " << std::setprecision(0) <<
TimeOfDay()
17 <<
"-----------------------\n"
18 << longDesc.str() <<
"----- End " << shortDesc
19 <<
" -------------------------------------------------";
27 shortDesc +=
" Exception";
28 std::ostringstream longDesc;
30 LogPrint(shortDesc) <<
"----- Begin " << shortDesc <<
" " << std::setprecision(0) <<
TimeOfDay()
31 <<
"-----------------------\n"
32 << longDesc.str() <<
"----- End " << shortDesc
33 <<
" -------------------------------------------------";
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=nullptr, int rc=-1)
virtual std::string explainSelf() const
Log< level::Warning, true > LogPrint
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
Log< level::System, true > LogAbsolute
void printCmsExceptionWarning(char const *behavior, cms::Exception const &e)