def setLogger(self, logInit=0):
        # Logger Object
        self.log = logger
        self.log.setLevel(10)

        if logInit:
            self.log.debug('PCStoolsLocation is - %s' % self.PCStoolsLocation)
            self.log.debug('PCSDevelopers are - %s' % self.PCSDevelopers)
            self.log.debug('PCStoolName is - %s' % self.PCStoolName)
            self.log.debug('PCSmenuPath is - %s' % self.PCSmenuPath)

            # report run from location
            fileLocation = os.path.dirname(inspect.getsourcefile(tempFunc))
            self.log.debug("Ran sysGlobalMenu.py from '%s'" % fileLocation)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/sysGlobalMenu.py/MayaMenu.setLogger/original