function DevelDumperManagerInterface::debug
Same name in other branches
- 5.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 69
Class
- DevelDumperManagerInterface
- Interface DevelDumperManagerInterface.
Namespace
Drupal\develCode
public function debug($input, $name = NULL, $plugin_id = NULL);