You are here

public static function ShareaholicPublic::custom_error_handler in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 public.php \ShareaholicPublic::custom_error_handler()

Custom error handler

Parameters

integer $errno The error level as an integer:

string $errstr The error string:

string $errfile The file where the error occurred:

string $errline The line number where the error occurred:

File

./public.php, line 494

Class

ShareaholicPublic
This class is all about drawing the stuff in publishers' templates that visitors can see.

Code

public static function custom_error_handler($errno, $errstr, $errfile, $errline) {
  ShareaholicUtilities::log($errstr . ' ' . $errfile . ' ' . $errline);
}