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