protected static function raven(array $config = [], $title = null){
        $defaults = [
            'dsn'    => null,
            'level'  => Logger::ERROR,
            'bubble' => true,
        ];

        $c = array_merge($defaults, $config);

        return new \Monolog\Handler\RavenHandler(
            new \Raven_Client($c['dsn'], array_except($c, ['dsn'])),
            $c['level'],
            $c['bubble']
        );
    }
protected static function raven(array $config = [], $title = null){
        $defaults = [
            'dsn'    => null,
            'level'  => Logger::ERROR,
            'bubble' => true,
        ];

        $c = array_merge($defaults, $config);

        return new \Monolog\Handler\RavenHandler(
            new \Raven_Client($c['dsn'], array_except($c, ['dsn'])),
            $c['level'],
            $c['bubble']
        );
    }
protected static function raven ( array $ config = [ ] , $ title = null ) { $ defaults = [ 'dsn' => null , 'level' => Logger :: ERROR , 'bubble' => true , ] ; $ c = array_merge ( $ defaults , $ config ) ; return new \ Monolog \ Handler \ RavenHandler ( new \ Raven_Client ( $ c [ 'dsn' ] , array_except ( $ c , [ 'dsn' ] ) ) , $ c [ 'level' ] , $ c [ 'bubble' ] ) ; }
Returns a RavenHandler
@param  array  $config An array of config values to use
@param  string $title The title/subject to use
@return \Monolog\Handler\RavenHandler
Returns a RavenHandler