Action_Scheduler\Migration
Config::get_destination_logger()
Get the configured destination logger.
Метод класса: Config{}
Хуков нет.
Возвращает
ActionScheduler_Logger
.
Использование
$Config = new Config(); $Config->get_destination_logger();
Код Config::get_destination_logger() Config::get destination logger WC 9.8.1
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; }