'Tells this manager to manage the given stream.  All data written to the
stream will be directed to the logging module instead.  Must be called
before start_logging().
:param stream: stream to manage
:param level: level to log data written to this stream
:param stream_setter: function to set the stream to a new object'

def manage_stream(self, stream, level, stream_setter):

    if self._started:
        raise RuntimeError('You    must    call    this    before    start_logging()')
    self._streams.append(self.STREAM_MANAGER_CLASS(stream, level, stream_setter))
