34 using namespace edm::messagelogger;
39 #ifdef DEFECT_NO_STATIC_CONST_INIT
40 const int ELdestination::defaultLineLength = 80;
43 ELdestination::ELdestination()
50 lineLength(defaultLineLength),
51 respondToMostModules(
false),
52 ignoreMostModules(
false),
55 #ifdef ELdestinationCONSTRUCTOR_TRACE
56 std::cerr <<
"Constructor for ELdestination\n";
62 #ifdef ELdestinationCONSTRUCTOR_TRACE
63 std::cerr <<
"Destructor for ELdestination\n";
112 if (moduleName ==
"*") {
124 if (moduleName ==
"*") {
163 msg <<
"cannot flush()";
223 std::ofstream*
p =
static_cast<std::ofstream*
>(os);
constexpr const ELseverityLevel ELwarning
virtual void attachTime()
virtual void attachEpilogue()
void setLimit(const std::string &id, int n)
constexpr const ELseverityLevel ELzeroSeverity
virtual void separateEpilogue()
std::unordered_set< std::string > ignoreThese
virtual void includeSubroutine()
void operator()(std::ostream *os) const
virtual int setLineLength(int len)
void setThreshold(const messagelogger::ELseverityLevel &sv)
static const std::string hereMsg
virtual void filterModule(std::string const &moduleName)
virtual void includeTime()
virtual void respondToModule(std::string const &moduleName)
void setTimespan(const std::string &id, int n)
virtual void ignoreModule(std::string const &moduleName)
virtual void useContext()
void setInterval(const std::string &id, int interval)
virtual int getLineLength() const
virtual void suppressContext()
virtual void useFullContext()
void setTableLimit(int n)
virtual void separateTime()
virtual bool thisShouldBeIgnored(std::string const &s) const
virtual void suppressModule()
virtual void includeModule()
void setInterval(const std::string &s, int interval)
virtual void suppressText()
std::unordered_set< std::string > respondToThese
virtual void suppressSubroutine()
virtual void suppressTime()
virtual void includeContext()
virtual void changeFile(std::ostream &os)
virtual void suppressSerial()
bool respondToMostModules
virtual void includeText()
virtual void excludeModule(std::string const &moduleName)
std::string moduleName(StableProvenance const &provenance, ProcessHistory const &history)
void setTraceThreshold(const messagelogger::ELseverityLevel &sv)
void setTimespan(const std::string &s, int n)
static const std::string noosMsg
constexpr const ELseverityLevel ELhighestSeverity
messagelogger::ELseverityLevel traceThreshold
void setLimit(const std::string &s, int n)
virtual std::string getNewline() const
virtual bool log(const edm::ErrorObj &msg)
messagelogger::ELseverityLevel threshold
virtual void setTableLimit(int n)
static const std::string notELoutputMsg
virtual void includeSerial()