You are here

function watchdog_rules_watchdog in Logging and alerts 6

Same name and namespace in other branches
  1. 6.2 watchdog_rules/watchdog_rules.module \watchdog_rules_watchdog()
  2. 7.2 watchdog_rules/watchdog_rules.module \watchdog_rules_watchdog()
  3. 7 watchdog_rules/watchdog_rules.module \watchdog_rules_watchdog()

Implementation of hook_watchdog().

File

watchdog_rules/watchdog_rules.module, line 11
Provides a Rules integration for wachdog events.

Code

function watchdog_rules_watchdog($watchdog_message) {
  rules_invoke_event('watchdog_rules', $watchdog_message['user'], $watchdog_message);
}