Action_Scheduler\Migration
Config::get_destination_logger()
Get the configured destination logger.
Method of the class: Config{}
No Hooks.
Return
ActionScheduler_Logger
.
Usage
$Config = new Config(); $Config->get_destination_logger();
Config::get_destination_logger() Config::get destination logger code WC 9.8.2
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; }