WP_CLI\Loggers

Regular::error()publicWP-CLI 1.0

Write an message to STDERR, prefixed with "Error: ".

Method of the class: Regular{}

No Hooks.

Return

null. Nothing.

Usage

$Regular = new Regular();
$Regular->error( $message );
$message(string) (required)
Message to write.

Regular::error() code WP-CLI 2.8.0-alpha

public function error( $message ) {
	$this->_line( $message, 'Error', '%R', STDERR );
}