You are here

function rules_action_watchdog in Rules 6

Action Implementation: Log to watchdog.

Related topics

File

rules/modules/system.rules.inc, line 215
rules integration for the system module

Code

function rules_action_watchdog($settings) {
  watchdog($settings['type'], $settings['message'], NULL, $settings['severity'], $settings['link']);
}