You are here

public function PayPalBasic::getLogLevel in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Payment/MethodConfiguration/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalBasic::getLogLevel()

Gets the setting for the log level.

Return value

string

2 calls to PayPalBasic::getLogLevel()
PayPalBasic::getDerivativeConfiguration in src/Plugin/Payment/MethodConfiguration/PayPalBasic.php
PayPalBasic::processBuildConfigurationForm in src/Plugin/Payment/MethodConfiguration/PayPalBasic.php

File

src/Plugin/Payment/MethodConfiguration/PayPalBasic.php, line 40

Class

PayPalBasic
Abstract class for PayPal payment method configurations.

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

public function getLogLevel() : string {
  return $this->configuration['loglevel'] ?? 'DEBUG';
}