Skip to content

Commit

Permalink
Merge pull request #32138 from Dr15Jones/newMessageLoggerConfig
Browse files Browse the repository at this point in the history
Implement new MessageLogger configuration
  • Loading branch information
cmsbuild authored Nov 19, 2020
2 parents 5436926 + cbec163 commit 4489420
Show file tree
Hide file tree
Showing 63 changed files with 1,924 additions and 1,473 deletions.
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

0 comments on commit 4489420

Please sign in to comment.