WP_CLI\Loggers

Quiet::error()publicWP-CLI 1.0

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

Method of the class: Quiet{}

No Hooks.

Return

null. Nothing.

Usage

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

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

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