WP_CLI\Loggers

Regular::success()publicWP-CLI 1.0

Write a success message, prefixed with "Success: ".

Method of the class: Regular{}

No Hooks.

Return

null. Nothing.

Usage

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

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

public function success( $message ) {
	$this->_line( $message, 'Success', '%G' );
}