function messaging_devel_log in Messaging 7
Messaging debug logs
File
- messaging_devel/
messaging_devel.module, line 256 - Simple messaging using html page. Messaging method plug-in
Code
function messaging_devel_log($txt = NULL, $variables = NULL) {
// Sometimes we are passing objects as variables, we need to make sure they are not by reference
// We can let this be for normal logs but for debugging we want accurate unique data on each stage
if ($variables) {
foreach ($variables as $key => $value) {
if (is_object($value)) {
$variables[$key] = (object) $value;
}
}
}
return _messaging_log('debug', $txt, $variables);
}