CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes
edm::level::Warning Struct Reference

#include <MessageLogger.h>

Static Public Member Functions

static bool suppress () noexcept
 

Static Public Attributes

static constexpr const messagelogger::ELseverityLevel level = messagelogger::ELwarning
 

Detailed Description

Definition at line 45 of file MessageLogger.h.

Member Function Documentation

◆ suppress()

static bool edm::level::Warning::suppress ( )
inlinestaticnoexcept

Definition at line 47 of file MessageLogger.h.

References edm::MessageDrop::instance(), and edm::MessageDrop::warningAlwaysSuppressed.

47  {
48  return (MessageDrop::warningAlwaysSuppressed || !MessageDrop::instance()->warningEnabled);
49  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:74

Member Data Documentation

◆ level

constexpr const messagelogger::ELseverityLevel edm::level::Warning::level = messagelogger::ELwarning
static

Definition at line 46 of file MessageLogger.h.