final public function setOutputWriter(OutputWriter $outputWriter)
    {
        if ($outputWriter !== $this->outputWriter) {
            $this->outputWriter = $outputWriter;
            $this->consumer = null;
        }
        
        return $this;
    }
final public function setOutputWriter(OutputWriter $outputWriter)
    {
        if ($outputWriter !== $this->outputWriter) {
            $this->outputWriter = $outputWriter;
            $this->consumer = null;
        }
        
        return $this;
    }
final public function setOutputWriter ( OutputWriter $ outputWriter ) { if ( $ outputWriter !== $ this -> outputWriter ) { $ this -> outputWriter = $ outputWriter ; $ this -> consumer = null ; } return $ this ; }
Call of this method is required before logs are streamed to OutputWriter.

@param OutputWriter $outputWriter
@return $this fluent interface
Call of this method is required before logs are streamed to OutputWriter .