public function RealisticDummyContentLogInterface::error in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface::error()
- 3.x 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\includesCode
public function error($text, $vars = array());