66 StandAloneScribe(
const StandAloneScribe &) =
delete;
68 const StandAloneScribe &operator=(
const StandAloneScribe &) =
delete;
88 <<
"%MSG" << std::endl;
105 std::shared_ptr<StandAloneScribe> obtainStandAloneScribePtr() {
106 static auto standAloneScribe_ptr = std::make_shared<StandAloneScribe>();
107 return standAloneScribe_ptr;
127 mlscribe_ptr = obtainStandAloneScribePtr();
135 mlscribe_ptr->runCommand(opcode, operand);
142 mlscribe_ptr->runCommand(opcode, operand);
144 ex <<
"\n The preceding exception was thrown in MessageLoggerScribe\n";
145 ex <<
"and forwarded to the main thread from the Messages thread.";
146 std::cerr <<
"exception from MessageLoggerQ::" << commandMnemonic <<
" - exception what() is \n" << ex.
what();
157 simpleCommand(LOG_A_MESSAGE, static_cast<void *>(p));
165 simpleCommand(JOBMODE, static_cast<void *>(jm));
174 handshakedCommand(FLUSH_LOG_Q,
nullptr,
"FLS");
179 simpleCommand(GROUP_STATS, static_cast<void *>(cat_p));
183 handshakedCommand(FJR_SUMMARY, sum_p,
"JRS");
188 return ((op == CONFIGURE) || (op == FLUSH_LOG_Q) || (op == FJR_SUMMARY));
199 if (squelchSet.count(category) > 0)
static bool handshaked(const OpCode &op)
char const * what() const override
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)