/**
  * Utilize WC logger class
  *
  * @since 1.0.0
  * @version 1.0.0
  */
 public static function log($message)
 {
     if (empty(self::$logger)) {
         self::$logger = new WC_Logger();
     }
     self::$logger->add('woocommerce-gateway-square', $message);
 }
 /**
  * Logs
  *
  * @since 1.0.0
  * @version 1.0.0
  *
  * @param string $message
  */
 public function log($message)
 {
     if ($this->logging) {
         WC_Square_Payment_Logger::log($message);
     }
 }