public static function ShareaholicUtilities::log in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 utilities.php \ShareaholicUtilities::log()
Log the errors in the database if debug flag is set to true
5 calls to ShareaholicUtilities::log()
- ShareaholicHttp::send_with_drupal in lib/
social-share-counts/ drupal_http.php - ShareaholicHttp::send_with_wp in lib/
social-share-counts/ wordpress_http.php - ShareaholicPublic::custom_error_handler in ./
public.php - Custom error handler
- ShareaholicPublic::get_visibility in ./
public.php - Determines the visibility of a piece of content and returns that value
- ShareaholicPublic::is_shareable in ./
public.php - Determines the shareability of a piece of content and returns that value
File
- ./
utilities.php, line 448
Class
Code
public static function log($message) {
if (defined('SHAREAHOLIC_DEBUG') && SHAREAHOLIC_DEBUG) {
watchdog('Shareaholic', print_r($message, true));
}
}