ATLAS Offline Software
Functions | Variables
sendEI_SPB Namespace Reference

Functions

def main ()
 

Variables

 root = logging.getLogger()
 
 ch = logging.StreamHandler(sys.stdout)
 
 formatter = logging.Formatter('%(name)-15s %(levelname)9s %(message)s')
 

Function Documentation

◆ main()

def sendEI_SPB.main ( )

Definition at line 12 of file sendEI_SPB.py.

12 def main():
13 
14  # logger
15  logger = logging.getLogger('sendEI_SPB.py')
16  global log
17  log = logger
18 
19  # analyze options
20  opt = eioptions(sys.argv[1:])
21 
22  if opt.verbose > 0:
23  logger.setLevel(logging.INFO)
24 
25  if opt.debug > 0:
26  logger.setLevel(logging.DEBUG)
27 
28  eimrun(logger, opt)
29 
30 

Variable Documentation

◆ ch

sendEI_SPB.ch = logging.StreamHandler(sys.stdout)

Definition at line 35 of file sendEI_SPB.py.

◆ formatter

sendEI_SPB.formatter = logging.Formatter('%(name)-15s %(levelname)9s %(message)s')

Definition at line 39 of file sendEI_SPB.py.

◆ root

sendEI_SPB.root = logging.getLogger()

Definition at line 34 of file sendEI_SPB.py.

sendEI_SPB.main
def main()
Definition: sendEI_SPB.py:12
python.sendEI_SPB_Lib.eimrun
def eimrun(logger, opt)
Definition: sendEI_SPB_Lib.py:365