You are here

public function RealisticDummyContentLogInterface::error in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface::error()
  2. 7.2 api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface::error()

Add a log entry for an error.

Parameters

string $text: Text for the log entry.

array $vars: Variables to insert in the text.

2 methods override RealisticDummyContentLogInterface::error()
RealisticDummyContentDebugLog::error in api/src/includes/RealisticDummyContentDebugLog.php
Add a log entry for an error.
RealisticDummyContentDrushLog::error in api/src/includes/RealisticDummyContentDrushLog.php
Add a log entry for an error.

File

api/src/includes/RealisticDummyContentLogInterface.php, line 28

Class

RealisticDummyContentLogInterface
Interface for a log class.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function error($text, array $vars = []);