Lines Matching refs:msg
339 def logPrintWarning(self, msg, title = None, **kwargs): argument
342 return self.logPrintBox(msg,title='***** {} *****'.format(title),**kwargs)
344 …def logPrintBox(self, msg, debugLevel = -1, debugSection = 'screen', indent = 1, comm = None, rmDi… argument
346 rmDir = build_multiline_message(title, self.logStripDirectory(msg), prefix=prefix)
347 msg = build_multiline_message(title, msg, prefix=prefix)
350 …self.logPrint(msg, debugLevel = debugLevel, debugSection = debugSection, rmDir = rmDir, forceNewLi…
354 def logStripDirectory(self,msg): argument
355 return msg.replace(RemoveDirectory,'')
368 def logWrite(self, msg, debugLevel = -1, debugSection = None, forceScroll = 0, rmDir = 1): argument
371 if not msg: return
378 clean_msg = self.logStripDirectory(msg)
380 clean_msg = msg
386 if writeAll or not msg.startswith('TESTING:') or f.isatty():
387 if not debugSection is None and not debugSection == 'screen' and len(msg):
390 f.write(msg if writeAll else clean_msg)
395 …def logPrint(self, msg, debugLevel = -1, debugSection = None, indent = 1, comm = None, forceScroll… argument
400 self.logWrite(msg, debugLevel, debugSection, forceScroll = forceScroll, rmDir = rmDir)