def debugInfo(self, loud, text, title=''):
        """
        SYNOPSIS: gives debug and confirmation dialogue options

        INPUTS
         (int) 		loud:	0=off, 1=print, 2=confirmDialogue
         (string) 	text:	text to print
         (string) 	title:	title to print

        RETURNS: nothing
        """
        if not self.logger:
            self.setLogger()
        self.logger.debug(text)
        if loud == 1:
            print"\ndebugInfo:	%s\n" % text
        cmds.refresh()

        if loud == 2:
            result = cmds.confirmDialog(t="Debug Info: %s" % title, m=text, b=['OK', 'Cancel'], db='OK', cb='Cancel',
                                        ds='Cancel');
            if result == "Cancel":
                print "*** Canceled ***"
                sys.exit()


# noinspection PyMethodMayBeStatic
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaPrintCore.debugInfo/original