protected function getLogLevel($logLevel)
    {
        switch ($logLevel) {
            case Logger::DEBUG:
                return Severity::debug();
            case Logger::INFO:
                return Severity::info();
            case Logger::NOTICE:
                return Severity::info();
            case Logger::WARNING:
                return Severity::warning();
            case Logger::ERROR:
                return Severity::error();
            case Logger::CRITICAL:
                return Severity::fatal();
            case Logger::ALERT:
                return Severity::fatal();
            case Logger::EMERGENCY:
                return Severity::fatal();

        }
    }
protected function getLogLevel($logLevel)
    {
        switch ($logLevel) {
            case Logger::DEBUG:
                return Severity::debug();
            case Logger::INFO:
                return Severity::info();
            case Logger::NOTICE:
                return Severity::info();
            case Logger::WARNING:
                return Severity::warning();
            case Logger::ERROR:
                return Severity::error();
            case Logger::CRITICAL:
                return Severity::fatal();
            case Logger::ALERT:
                return Severity::fatal();
            case Logger::EMERGENCY:
                return Severity::fatal();

        }
    }
protected function getLogLevel ( $ logLevel ) { switch ( $ logLevel ) { case Logger :: DEBUG : return Severity :: debug ( ) ; case Logger :: INFO : return Severity :: info ( ) ; case Logger :: NOTICE : return Severity :: info ( ) ; case Logger :: WARNING : return Severity :: warning ( ) ; case Logger :: ERROR : return Severity :: error ( ) ; case Logger :: CRITICAL : return Severity :: fatal ( ) ; case Logger :: ALERT : return Severity :: fatal ( ) ; case Logger :: EMERGENCY : return Severity :: fatal ( ) ; } }
Translates Monolog log levels to Sentry Severity.
Translates Monolog log levels to Sentry Severity .