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