WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Config::get_source_logger() public WC 1.0

Get the configured source loger.

{} It's a method of the class: Config{}

No Hooks.

Return

ActionScheduler_Logger.

Usage

$Config = new Config();
$Config->get_source_logger();

Code of Config::get_source_logger() WC 6.1.1

public function get_source_logger() {
	if ( empty( $this->source_logger ) ) {
		throw new \RuntimeException( __( 'Source logger must be configured before running a migration', 'woocommerce' ) );
	}

	return $this->source_logger;
}