public function DevelDumperManagerInterface::debug in Devel 8
Same name and namespace in other branches
- 8.3 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::debug()
- 8.2 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::debug()
- 4.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::debug()
Logs a variable to a drupal_debug.txt in the site's temp directory.
Parameters
mixed $input: The variable to log to the drupal_debug.txt log file.
string $name: (optional) If set, a label to output before $data in the log file.
string $plugin_id: (optional) The plugin ID, defaults to NULL.
Return value
void|false Empty if successful, FALSE if the log file could not be written.
See also
dd()
1 method overrides DevelDumperManagerInterface::debug()
- DevelDumperManager::debug in src/
DevelDumperManager.php - Logs a variable to a drupal_debug.txt in the site's temp directory.
File
- src/
DevelDumperManagerInterface.php, line 67
Class
- DevelDumperManagerInterface
- Interface DevelDumperManagerInterface
Namespace
Drupal\develCode
public function debug($input, $name = NULL, $plugin_id = NULL);