You are here

public function SalesforceExceptionEvent::getLevel in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getLevel()
  2. 5.0.x src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getLevel()

Getter for log level.

Return value

string Severity level for the event. Probably a Drupal\Core\Logger\RfcLogLevel or Psr\Log\LogLevel value.

Overrides SalesforceExceptionEventInterface::getLevel

File

src/Event/SalesforceExceptionEvent.php, line 67

Class

SalesforceExceptionEvent
Base class for Salesforce Exception events, primarily for logging.

Namespace

Drupal\salesforce\Event

Code

public function getLevel() {
  return $this->level;
}