Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::log
Show a log message using the WP_CLI text colorization feature.
Method of the class: CLIRunner{}
No Hooks.
Returns
null. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->log( $text );
- $text(string) (required)
- Text to show.
CLIRunner::log() CLIRunner::log code WC 10.3.3
private function log( string $text ) {
WP_CLI::log( WP_CLI::colorize( $text ) );
}