Action_Scheduler\Migration

Controller::get_logger_class()publicWC 1.0

Set the action logger class name.

Method of the class: Controller{}

No Hooks.

Return

String.

Usage

$Controller = new Controller();
$Controller->get_logger_class( $class );
$class(string) (required)
Classname of the logger class.

Controller::get_logger_class() code WC 7.3.0

public function get_logger_class( $class ) {
	\ActionScheduler_Store::instance();

	if ( $this->has_custom_datastore() ) {
		$this->logger_classname = $class;
		return $class;
	} else {
		return \ActionScheduler_DataController::LOGGER_CLASS;
	}
}