Logger.php
public static function error_handler($number, $message, $file, $line)
    {
        $msg = "$message in $file on line $line";
        if (($number !== E_NOTICE) && ($number < 2048)) {
            self::errorMessage($msg, true);
            self::customErrorMsg();
        }
        return 0;
    }
public static function error_handler($number, $message, $file, $line)
    {
        $msg = "$message in $file on line $line";
        if (($number !== E_NOTICE) && ($number < 2048)) {
            self::errorMessage($msg, true);
            self::customErrorMsg();
        }
        return 0;
    }
public static function error_handler ( $ number , $ message , $ file , $ line ) { $ msg = "$message in $file on line $line" ; if ( ( $ number !== E_NOTICE ) && ( $ number < 2048 ) ) { self :: errorMessage ( $ msg , true ) ; self :: customErrorMsg ( ) ; } return 0 ; }
Saves error message from exception

@param int $number Error number
@param string $message The error
@param string $file File originated from
@param int $line Line number
Saves error message from exception