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']
        );
    }