You are here

function messaging_debug_devlog_msg in Messaging 6

Same name and namespace in other branches
  1. 6.2 messaging_debug/messaging_debug.module \messaging_debug_devlog_msg()
  2. 6.3 messaging_debug/messaging_debug.module \messaging_debug_devlog_msg()

Message processor, just log incoming messages

File

messaging_debug/messaging_debug.module, line 253
Simple messaging using html page. Messaging method plug-in

Code

function messaging_debug_devlog_msg($message, $context) {
  if (module_exists('devel')) {
    list($text, $variables) = _messaging_debug_log_text($message);
    dsm($message, t($text, $variables));
  }

  // Return message without changes for further processing
  return $message;
}