All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
test_msg.test_msg Class Reference

Public Member Functions

def __init__
 
def debug
 
def info
 
def warning
 
def error
 
def __init__
 
def debug
 
def info
 
def warning
 
def error
 

Static Public Attributes

int level = 0
 

Detailed Description

Definition at line 2 of file larcorealg/test/GeoAlgo/test_msg.py.

Constructor & Destructor Documentation

def test_msg.test_msg.__init__ (   self)

Definition at line 6 of file larcorealg/test/GeoAlgo/test_msg.py.

6 
7  def __init__(self):
8  pass
def test_msg.test_msg.__init__ (   self)

Definition at line 6 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/test_msg.py.

6 
7  def __init__(self):
8  pass

Member Function Documentation

def test_msg.test_msg.debug (   cls,
  msg = '' 
)

Definition at line 10 of file larcorealg/test/GeoAlgo/test_msg.py.

10 
11  def debug(cls,msg=''):
12  if int(cls.level)<=0:
13  print '\033[94m[DEBUG] \033[00m',msg
def test_msg.test_msg.debug (   cls,
  msg = '' 
)

Definition at line 10 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/test_msg.py.

10 
11  def debug(cls,msg=''):
12  if int(cls.level)<=0:
13  print('\033[94m[DEBUG] \033[00m',msg)
do one_file $F done echo for F in find $TOP name CMakeLists txt print
def test_msg.test_msg.error (   cls,
  msg = '' 
)

Definition at line 25 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/test_msg.py.

25 
26  def error(cls,msg=''):
27  if int(cls.level)<=3:
28  print('\033[91m[ERROR] \033[00m',msg)
do one_file $F done echo for F in find $TOP name CMakeLists txt print
def test_msg.test_msg.error (   cls,
  msg = '' 
)

Definition at line 25 of file larcorealg/test/GeoAlgo/test_msg.py.

25 
26  def error(cls,msg=''):
27  if int(cls.level)<=3:
28  print '\033[91m[ERROR] \033[00m',msg
def test_msg.test_msg.info (   cls,
  msg = '' 
)

Definition at line 15 of file larcorealg/test/GeoAlgo/test_msg.py.

15 
16  def info(cls,msg=''):
17  if int(cls.level)<=1:
18  print '\033[92m[INFO] \033[00m',msg
def test_msg.test_msg.info (   cls,
  msg = '' 
)

Definition at line 15 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/test_msg.py.

15 
16  def info(cls,msg=''):
17  if int(cls.level)<=1:
18  print('\033[92m[INFO] \033[00m',msg)
do one_file $F done echo for F in find $TOP name CMakeLists txt print
def test_msg.test_msg.warning (   cls,
  msg = '' 
)

Definition at line 20 of file larcorealg/test/GeoAlgo/test_msg.py.

20 
21  def warning(cls,msg=''):
22  if int(cls.level)<=2:
23  print '\033[95m[WARNING]\033[00m',msg
def test_msg.test_msg.warning (   cls,
  msg = '' 
)

Definition at line 20 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/test_msg.py.

20 
21  def warning(cls,msg=''):
22  if int(cls.level)<=2:
23  print('\033[95m[WARNING]\033[00m',msg)
do one_file $F done echo for F in find $TOP name CMakeLists txt print

Member Data Documentation

int test_msg.test_msg.level = 0
static

Definition at line 4 of file larcorealg/test/GeoAlgo/test_msg.py.


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