WP_CLI\Loggers

Regular::warning()publicWP-CLI 1.0

Write a warning message to STDERR, prefixed with "Warning: ".

Method of the class: Regular{}

No Hooks.

Return

null. Nothing (null).

Usage

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

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

public function warning( $message ) {
	$this->_line( $message, 'Warning', '%C', STDERR );
}