You are here

public function RealisticDummyContentException::log in Realistic Dummy Content 7.2

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::log()
  2. 3.x api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::log()

Logs a message.

1 call to RealisticDummyContentException::log()
RealisticDummyContentException::__construct in api/src/includes/RealisticDummyContentException.php
Constructor.

File

api/src/includes/RealisticDummyContentException.php, line 29

Class

RealisticDummyContentException
An Exception.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function log() {
  Framework::instance()
    ->debug($this
    ->getMessage() . ' (' . $this
    ->getCaller() . ' called ' . $this
    ->getCalled() . ')');
}