src/Chiron/Handler/Reporter/LoggerReporter.php
private function getLogLevel(Throwable $e): string
    {
        if ($e instanceof ErrorException && array_key_exists($e->getSeverity(), $this->levelMap)) {
            return $this->levelMap[$e->getSeverity()];
        }

        // default log level for Throwable
        return LogLevel::CRITICAL;
    }
private function getLogLevel(Throwable $e): string
    {
        if ($e instanceof ErrorException && array_key_exists($e->getSeverity(), $this->levelMap)) {
            return $this->levelMap[$e->getSeverity()];
        }

        // default log level for Throwable
        return LogLevel::CRITICAL;
    }
private function getLogLevel ( Throwable $ e ) : string { if ( $ e instanceof ErrorException && array_key_exists ( $ e -> getSeverity ( ) , $ this -> levelMap ) ) { return $ this -> levelMap [ $ e -> getSeverity ( ) ] ; } // default log level for Throwable return LogLevel :: CRITICAL ; }
Get log level to use for the PSR3 Logger.
By default for the NON 'ErrorException' exception it will always be 'CRITICAL'.

@param Throwable $e

@return string
Get log level to use for the PSR3 Logger . By default for the NON ErrorException exception it will always be CRITICAL .