WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Config::get_destination_logger() public WC 1.0

Get the configured destination logger.

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

No Hooks.

Return

ActionScheduler_Logger.

Usage

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

Code of Config::get_destination_logger() WC 6.1.0

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

	return $this->destination_logger;
}