lsst.pipe.base  13.0-12-gaf0c0ec
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
lsst.pipe.base.argumentParser.LogLevelAction Class Reference

argparse action to set log level More...

Inheritance diagram for lsst.pipe.base.argumentParser.LogLevelAction:

Public Member Functions

def __call__
 Set trace level. More...
 

Detailed Description

argparse action to set log level

Definition at line 946 of file argumentParser.py.

Member Function Documentation

def lsst.pipe.base.argumentParser.LogLevelAction.__call__ (   self,
  parser,
  namespace,
  values,
  option_string 
)

Set trace level.

Parameters
[in]parserargument parser (instance of ArgumentParser)
[in]namespaceparsed command (an instance of argparse.Namespace); ignored
[in]valuesa list of trace levels; each item must be of the form 'component_name=level' or 'level', where level is a keyword (not case sensitive) or an integer
[in]option_stringoption value specified by the user (a str)

Definition at line 950 of file argumentParser.py.


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