public static function init($error_reporting_level = E_ALL, $display_errors = true, $show_trace = true)
    {

        \error_reporting($error_reporting_level);
        \ini_set("display_errors", $display_errors ? true : false);
        self::$show_trace = $show_trace ? true : false;
        \set_error_handler('\sb\Application\Debugger::errorHandler');
        \set_exception_handler('\sb\Application\Debugger::exceptionHandler');
        \register_shutdown_function('\sb\Application\Debugger::shutdown');
    }
public static function init($error_reporting_level = E_ALL, $display_errors = true, $show_trace = true)
    {

        \error_reporting($error_reporting_level);
        \ini_set("display_errors", $display_errors ? true : false);
        self::$show_trace = $show_trace ? true : false;
        \set_error_handler('\sb\Application\Debugger::errorHandler');
        \set_exception_handler('\sb\Application\Debugger::exceptionHandler');
        \register_shutdown_function('\sb\Application\Debugger::shutdown');
    }
public static function init ( $ error_reporting_level = E_ALL , $ display_errors = true , $ show_trace = true ) { \ error_reporting ( $ error_reporting_level ) ; \ ini_set ( "display_errors" , $ display_errors ? true : false ) ; self :: $ show_trace = $ show_trace ? true : false ; \ set_error_handler ( '\sb\Application\Debugger::errorHandler' ) ; \ set_exception_handler ( '\sb\Application\Debugger::exceptionHandler' ) ; \ register_shutdown_function ( '\sb\Application\Debugger::shutdown' ) ; }
Sets up debugger
@param string  $error_reporting_level The error level like
@param boolean $display_errors        Should errors be dumped to output
@param type    $show_trace            Should trace message be shown
Sets up debugger