drupal 7 watchdog 记录debug信息

watchdog('userpoints', 'perishables->remainder %perrr', array('%perrr' => print_r($perishables, TRUE)), WATCHDOG_DEBUG);
 https://drupal.stackexchange.com/questions/174512/how-to-print-db-select-result-using-watchdog
 
search in drupal 7 function watchdog
原文地址:https://www.cnblogs.com/qinqiu/p/9039365.html