public function BynderException::logException in Bynder 8
Same name and namespace in other branches
- 8.3 src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::logException()
- 8.2 src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::logException()
- 4.0.x src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::logException()
Logs exception into Drupal's log.
Return value
\Drupal\bynder\Exception\BynderException This exception.
File
- src/
Exception/ BynderException.php, line 83
Class
- BynderException
- Base exception class for Bynder.
Namespace
Drupal\bynder\ExceptionCode
public function logException() {
\Drupal::logger('bynder')
->error($this->logMessage, $this->logMessageArgs);
return $this;
}