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

Public Member Functions

def __init__ (self, level=ROOT.kInfo+1)
 
def __enter__ (self)
 
def __exit__ (self, type, value, traceback)
 

Public Attributes

 level
 the level to quiet
 
 oldlevel
 the previously set level to be ignored
 

Detailed Description

Context handler class to quiet errors in a 'with' statement

Definition at line 24 of file defaultEvaluationParameters.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  level = ROOT.kInfo + 1 
)
Class constructor

Definition at line 27 of file defaultEvaluationParameters.py.

27  def __init__(self, level=ROOT.kInfo + 1):
28  """Class constructor"""
29 
30  self.level = level
31 

Member Function Documentation

◆ __enter__()

def __enter__ (   self)
Enter the context

Definition at line 32 of file defaultEvaluationParameters.py.

◆ __exit__()

def __exit__ (   self,
  type,
  value,
  traceback 
)
Exit the context

Definition at line 38 of file defaultEvaluationParameters.py.


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