(stream)
Sets the output stream to which all messages will be
            written. By default, this is sys.stdout, but it can be
            changed in order to redirect the log to a logfile.
Sets the output stream to which all messages will be
            written. By default, this is sys.stdout, but it can be
            changed in order to redirect the log to a logfile.
Sets the output stream to which all messages will be written . By default this is sys . stdout but it can be changed in order to redirect the log to a logfile .
def setOutputStream(stream):
        """ Sets the output stream to which all messages will be
            written. By default, this is sys.stdout, but it can be
            changed in order to redirect the log to a logfile.
        """
        output_stream = stream
def setOutputStream ( stream ) : output_stream = stream