Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new MessageLogger configuration #32138

Merged
merged 12 commits into from
Nov 19, 2020
8 changes: 3 additions & 5 deletions FWCore/Framework/test/test_deepCall_unscheduled_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@
)

process.MessageLogger = cms.Service("MessageLogger",
destinations = cms.untracked.vstring('cout',
'cerr'
),
categories = cms.untracked.vstring(
'Tracer'
cerr = cms.untracked.PSet(
enableStatistics = cms.untracked.bool(False)
),
cout = cms.untracked.PSet(
enable = cms.untracked.bool(True),
default = cms.untracked.PSet (
limit = cms.untracked.int32(0)
),
Expand Down
23 changes: 2 additions & 21 deletions FWCore/MessageService/src/ELadministrator.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,13 @@
namespace edm {
namespace service {

// ----------------------------------------------------------------------
// Prerequisite classes:
// ----------------------------------------------------------------------

class ELdestination;
class ELcout;
class MessageLoggerScribe;

// ----------------------------------------------------------------------
// ELadministrator:
// ----------------------------------------------------------------------

class ELadministrator { // *** Destructable Singleton Pattern ***

friend class MessageLoggerScribe; // proper ELadministrator cleanup
friend class ThreadSafeLogMessageLoggerScribe; // proper ELadministrator cleanup
friend class ELcout; // ELcout behavior

// *** Error Logger Functionality ***

class ELadministrator {
public:
ELadministrator();
~ELadministrator();

//Replaces ErrorLog which is no longer needed
Expand Down Expand Up @@ -118,11 +104,6 @@ namespace edm {
const ELseverityLevel& highSeverity() const;
int severityCounts(int lev) const;

protected:
// --- traditional birth/death, but disallowed to users:
//
ELadministrator();

private:
// --- traditional member data:
//
Expand Down
Loading