def monitor(self, listener):
for line in self._stream():<EOL><INDENT>self._record.append(line)<EOL>if self.verbose:<EOL><INDENT>self.out.blather(line)<EOL><DEDENT>if listener(line) is self.MONITOR_STOP:<EOL><INDENT>return<EOL><DEDENT><DEDENT>
Relay the stream to listener until told to stop.