Belle II Software  release-08-01-10
LogModRealm Class Reference

Class to modify the log level dependent on the execution realm. More...

#include <LogVariableStream.h>

Public Member Functions

 LogModRealm (Belle2::LogConfig::ELogRealm realm, Belle2::LogConfig::ELogLevel logLevel)
 Constructor of a realm dependent modification of the log level. More...
 
Belle2::LogConfig::ELogRealm getRealm () const
 Returns the realm.
 
Belle2::LogConfig::ELogLevel getLogLevel () const
 Returns the log level.
 

Private Attributes

Belle2::LogConfig::ELogRealm m_realm
 Realm for the conditional log level.
 
Belle2::LogConfig::ELogLevel m_logLevel
 Realm dependent log level.
 

Detailed Description

Class to modify the log level dependent on the execution realm.

Definition at line 76 of file LogVariableStream.h.

Constructor & Destructor Documentation

◆ LogModRealm()

Constructor of a realm dependent modification of the log level.

Parameters
realmexecution realm
logLevelrealm dependent log level.

Definition at line 83 of file LogVariableStream.h.

83  :
84  m_realm(realm),
85  m_logLevel(logLevel)
86  {
87  }
Belle2::LogConfig::ELogRealm m_realm
Realm for the conditional log level.
Belle2::LogConfig::ELogLevel m_logLevel
Realm dependent log level.

The documentation for this class was generated from the following file: