lsst.sconsUtils
16.0-11-gb79374a
|
A dead-simple logger for all messages. More...
Public Member Functions | |
def | __init__ (self) |
def | info (self, message) |
def | warn (self, message) |
def | fail (self, message) |
def | flush (self) |
Public Attributes | |
traceback | |
verbose | |
A dead-simple logger for all messages.
This simply centralizes decisions about whether to throw exceptions or print user-friendly messages (the traceback variable) and whether to print extra debug info (the verbose variable). These are set from command-line options in state.py.
def lsst.sconsUtils.utils.Log.__init__ | ( | self | ) |
def lsst.sconsUtils.utils.Log.fail | ( | self, | |
message | |||
) |
References lsst.sconsUtils.utils.Log.traceback.
def lsst.sconsUtils.utils.Log.flush | ( | self | ) |
def lsst.sconsUtils.utils.Log.info | ( | self, | |
message | |||
) |
References lsst.sconsUtils.utils.Log.verbose.
def lsst.sconsUtils.utils.Log.warn | ( | self, | |
message | |||
) |
References lsst.sconsUtils.utils.Log.traceback.
lsst.sconsUtils.utils.Log.traceback |
Referenced by lsst.sconsUtils.utils.Log.fail(), and lsst.sconsUtils.utils.Log.warn().
lsst.sconsUtils.utils.Log.verbose |
Referenced by lsst.sconsUtils.utils.Log.info().