You are here

public function FrameworkInterface::watchdog in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::watchdog()
  2. 3.x api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::watchdog()

Logs something to the watchdog.

See watchdog() for more details on this function.

Parameters

int $severity: The litteral severity as defined in: https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/watc..., The default being WATCHDOG_NOTICE or 5. We cannot use the constants here because PHPUnit and Drupal 8 do not know about them.

File

api/src/Framework/FrameworkInterface.php, line 311

Class

FrameworkInterface
Defines and abstracts all functions which are used by our module.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function watchdog($message, $severity = 5);