You are here

public function DevelDumperManagerInterface::debug in Devel 4.x

Same name and namespace in other branches
  1. 8.3 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::debug()
  2. 8 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::debug()
  3. 8.2 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()

http://drupal.org/node/314112

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\devel

Code

public function debug($input, $name = NULL, $plugin_id = NULL);