Only write text to the log file, do not print

def logWrite(self, string):
		"""Only write text to the log file, do not print"""
		logFile = open(self.logFile, 'at')
		logFile.write(string + '\n')
		logFile.close()