php/WP_CLI/Loggers/Execution.php
protected function write( $handle, $str ) {
		switch ( $handle ) {
			case STDOUT:
				$this->stdout .= $str;
				break;
			case STDERR:
				$this->stderr .= $str;
				break;
		}
	}
protected function write( $handle, $str ) {
		switch ( $handle ) {
			case STDOUT:
				$this->stdout .= $str;
				break;
			case STDERR:
				$this->stderr .= $str;
				break;
		}
	}
protected function write ( $ handle , $ str ) { switch ( $ handle ) { case STDOUT : $ this -> stdout .= $ str ; break ; case STDERR : $ this -> stderr .= $ str ; break ; } }
Write a string to a resource.

@param resource $handle Commonly STDOUT or STDERR.
@param string $str Message to write.
Write a string to a resource .