Controller::get_logger_class() – Set the action logger class name.

You appear to be a bot. Output may be restricted

Description

Set the action logger class name.

Usage

$string = Controller::get_logger_class( $class );

Parameters

$class
( string ) required – Classname of the logger class.

Returns

string

Source

File name: woocommerce/packages/action-scheduler/classes/migration/Controller.php
Lines:

1 to 10 of 10
  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;
    }
  }
 

 View on GitHub View on Trac