Automattic\WooCommerce\Blueprint
Logger::start_import
Log the start of an import step.
Method of the class: Logger{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Logger = new Logger(); $Logger->start_import( $step_name, $importer_class );
- $step_name(string) (required)
- The name of the step being imported.
- $importer_class(string) (required)
- The class name of the importer.
Logger::start_import() Logger::start import code WC 10.7.0
public function start_import( string $step_name, string $importer_class ) {
$this->log(
sprintf( 'Starting import "%s" step', $step_name ),
\WC_Log_Levels::INFO,
array(
'importer' => $importer_class,
)
);
}