Lines Matching refs:print_to_console
104 def LogStartDots(self, print_to_console=True): argument
105 term_fd = self._GetStdout(print_to_console)
111 def LogAppendDot(self, print_to_console=True): argument
112 term_fd = self._GetStdout(print_to_console)
117 def LogEndDots(self, print_to_console=True): argument
118 term_fd = self._GetStdout(print_to_console)
129 def _GetStdout(self, print_to_console): argument
130 if print_to_console:
134 def _GetStderr(self, print_to_console): argument
135 if print_to_console:
148 def LogCmd(self, cmd, machine='', user=None, print_to_console=True): argument
154 self.LogMsg(self.cmdfd, self._GetStdout(print_to_console),
157 def LogFatal(self, msg, print_to_console=True): argument
158 self.LogMsg(self.stderr, self._GetStderr(print_to_console),
160 self.LogMsg(self.stderr, self._GetStderr(print_to_console),
164 def LogError(self, msg, print_to_console=True): argument
165 self.LogMsg(self.stderr, self._GetStderr(print_to_console),
168 def LogWarning(self, msg, print_to_console=True): argument
169 self.LogMsg(self.stderr, self._GetStderr(print_to_console),
172 def LogOutput(self, msg, print_to_console=True): argument
173 self.LogMsg(self.stdout, self._GetStdout(print_to_console),
188 def LogCommandOutput(self, msg, print_to_console=True): argument
190 self.stdout, self._GetStdout(print_to_console), msg, flush=False)
192 def LogCommandError(self, msg, print_to_console=True): argument
194 self.stderr, self._GetStderr(print_to_console), msg, flush=False)
284 def LogCmd(self, cmd, machine='', user=None, print_to_console=True): argument
290 self.LogMsg(0, self._GetStdout(print_to_console),
293 def LogFatal(self, msg, print_to_console=True): argument
294 self.LogMsg(0, self._GetStderr(print_to_console), 'FATAL: %s\n' % msg)
295 self.LogMsg(0, self._GetStderr(print_to_console),
299 def LogError(self, msg, print_to_console=True): argument
300 self.LogMsg(0, self._GetStderr(print_to_console), 'ERROR: %s\n' % msg)
302 def LogWarning(self, msg, print_to_console=True): argument
303 self.LogMsg(0, self._GetStderr(print_to_console), 'WARNING: %s\n' % msg)
305 def LogOutput(self, msg, print_to_console=True): argument
306 self.LogMsg(0, self._GetStdout(print_to_console), 'OUTPUT: %s\n' % msg)
320 def LogCommandOutput(self, msg, print_to_console=True): argument
322 self.stdout, self._GetStdout(print_to_console), msg, flush=False)
324 def LogCommandError(self, msg, print_to_console=True): argument
326 self.stderr, self._GetStderr(print_to_console), msg, flush=False)