function boost_log in Boost 7
Simple function to output log and debug messages.
2 calls to boost_log()
- boost_crawler_run in boost_crawler/
boost_crawler.module - Worker Callback for the boost_crawler cron queue.
- boost_expire_cache in ./
boost.module - Implements hook_expire_cache (from the 'expire' module)
File
- ./
boost.module, line 1646 - Caches generated output as a static file to be served directly from the webserver.
Code
function boost_log($message, $variables, $severity = WATCHDOG_NOTICE) {
// Log debug info only if boost debugging is enabled.
if ($severity == WATCHDOG_DEBUG && !variable_get('boost_message_debug', BOOST_MESSAGE_DEBUG)) {
return;
}
watchdog('boost', $message, $variables, $severity);
}