public function report( Exception $e )
	{
		if ( !$this->shouldReport( $e ) )
			return;

		try
		{
			$logger = Framework::log();
		}
		catch ( Exception $ex )
		{
			throw $e; // throw the original Exception
		}

		$logger->error( $e );


		$level = $this->getLevel( $e );
		$id = UniversalBuilder::resolveClass( ExceptionIdentifier::class )->identify( $e );

		$logger->{$level}( $e, ['identification' => ['id' => $id]] );
	}
public function report( Exception $e )
	{
		if ( !$this->shouldReport( $e ) )
			return;

		try
		{
			$logger = Framework::log();
		}
		catch ( Exception $ex )
		{
			throw $e; // throw the original Exception
		}

		$logger->error( $e );


		$level = $this->getLevel( $e );
		$id = UniversalBuilder::resolveClass( ExceptionIdentifier::class )->identify( $e );

		$logger->{$level}( $e, ['identification' => ['id' => $id]] );
	}
public function report ( Exception $ e ) { if ( ! $ this -> shouldReport ( $ e ) ) return ; try { $ logger = Framework :: log ( ) ; } catch ( Exception $ ex ) { throw $ e ; // throw the original Exception } $ logger -> error ( $ e ) ; $ level = $ this -> getLevel ( $ e ) ; $ id = UniversalBuilder :: resolveClass ( ExceptionIdentifier :: class ) -> identify ( $ e ) ; $ logger -> { $ level } ( $ e , [ 'identification' => [ 'id' => $ id ] ] ) ; }
Report or log an Exception.

@param  Exception $e
Report or log an Exception .