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