function antispam_debug in AntiSpam 7
Debug function.
File
- ./
antispam.module, line 44 - Primary hook implementations for the Antispam module.
Code
function antispam_debug($str) {
if (is_array($str) || is_object($str)) {
error_log(print_r($str, TRUE) . "\r\n", 3, "/tmp/antispam.txt");
}
else {
error_log($str . "\r\n", 3, "/tmp/antispam.txt");
}
}