66 StandAloneScribe(
const StandAloneScribe&);
68 const StandAloneScribe& operator=(
const StandAloneScribe&);
89 <<
" " << errorobj_p->
xid().
id <<
": \n" 110 std::shared_ptr<StandAloneScribe> obtainStandAloneScribePtr() {
111 static auto standAloneScribe_ptr = std::make_shared<StandAloneScribe>();
112 return standAloneScribe_ptr;
118 std::shared_ptr<edm::service::AbstractMLscribe>
139 (std::shared_ptr<edm::service::AbstractMLscribe>
m)
142 mlscribe_ptr = obtainStandAloneScribePtr();
151 mlscribe_ptr->runCommand(opcode, operand);
161 mlscribe_ptr->runCommand(opcode, operand);
165 ex <<
"\n The preceding exception was thrown in MessageLoggerScribe\n";
166 ex <<
"and forwarded to the main thread from the Messages thread.";
167 std::cerr <<
"exception from MessageLoggerQ::" 168 << commandMnemonic <<
" - exception what() is \n" 178 simpleCommand (END_THREAD, (
void *)0);
184 simpleCommand (SHUT_UP, (
void *)0);
190 simpleCommand (LOG_A_MESSAGE, static_cast<void *>(p));
197 handshakedCommand(CONFIGURE, p,
"CFG" );
203 simpleCommand (EXTERN_DEST, static_cast<void *>(p));
209 simpleCommand (SUMMARIZE, 0);
215 simpleCommand (JOBMODE, static_cast<void *>(jm));
226 handshakedCommand(FLUSH_LOG_Q, 0,
"FLS" );
232 simpleCommand (GROUP_STATS, static_cast<void *>(cat_p));
238 handshakedCommand(FJR_SUMMARY, sum_p,
"JRS" );
245 return ( (op == CONFIGURE) || (op == FLUSH_LOG_Q) || (op == FJR_SUMMARY) );
255 squelchSet.insert(category);
260 if ( squelchSet.count(category) > 0 )
return true;
virtual char const * what() const
static bool handshaked(const OpCode &op)
static void MLqEXT(service::NamedDestination *p)
static bool ignore(edm::ELseverityLevel const &severity, std::string const &category)
static void squelch(std::string const &category)
const ELstring getSymbol() const
const ELextendedID & xid() const
static void MLqCFG(ParameterSet *p)
static edm::ELseverityLevel threshold
static MessageLoggerQ * instance()
ELstring fullText() const
static void setMLscribe_ptr(std::shared_ptr< edm::service::AbstractMLscribe > m)
static void handshakedCommand(OpCode opcode, void *operand, std::string const &commandMnemonic)
static void MLqJRS(std::map< std::string, double > *sum_p)
static void MLqMOD(std::string *jm)
static void MLqGRP(std::string *cat_p)
static void MLqLOG(ErrorObj *p)
static std::set< std::string > squelchSet
static void standAloneThreshold(edm::ELseverityLevel const &severity)
static std::shared_ptr< edm::service::AbstractMLscribe > mlscribe_ptr
static void simpleCommand(OpCode opcode, void *operand)