protected function getLevel( Exception $exception )
	{
		foreach ( array_get( $this->getConfig(), 'levels', [] ) as $class => $level )
			if ( $exception instanceof $class )
				return $level;

		return 'error';
	}
protected function getLevel( Exception $exception )
	{
		foreach ( array_get( $this->getConfig(), 'levels', [] ) as $class => $level )
			if ( $exception instanceof $class )
				return $level;

		return 'error';
	}
protected function getLevel ( Exception $ exception ) { foreach ( array_get ( $ this -> getConfig ( ) , 'levels' , [ ] ) as $ class => $ level ) if ( $ exception instanceof $ class ) return $ level ; return 'error' ; }
Get the exception level.

@param \Exception $exception

@return string
Get the exception level .