You are here

function hook_raven_extra_alter in Raven: Sentry Integration 7.4

Same name and namespace in other branches
  1. 7 raven.api.php \hook_raven_extra_alter()
  2. 7.2 raven.api.php \hook_raven_extra_alter()
  3. 7.3 raven.api.php \hook_raven_extra_alter()

Provide extra information for logging.

Parameters

array $extra: A reference to array of extra error info.

1 invocation of hook_raven_extra_alter()
raven_init in ./raven.module
Implements hook_init().

File

./raven.api.php, line 40
Sample hooks demonstrating usage of Raven.

Code

function hook_raven_extra_alter(array &$extra) {
  $extra['foo'] = 'bar';
}