def setLogger(self, filePathName='%s/data/%s/%s.log' % (gv.logLocation, getpass.getuser(), getpass.getuser()),
                  name='pcsLogger', fresh=0):
        """
        SYNOPSIS
         sets mCore.logger to a path and sets its name
         NOTE: There can only be 1 of these at a time! If you want another logger,
                 you should use MayaCore.makeLogger() or diagnostics.apLogger.pcsLogger()

        INPUTS
        (string) 	filePathName:	path and file name of FileHandler stream
         (string) 			name:	'handle' to logger object
         (bool) 			   fresh:	1 = tries to delete old log file


        RETURNS: nothing
        """
        self.logger = pcsLogger.pcs_logger(filePathName=filePathName, name=name, fresh=fresh)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/Maya.setLogger/original