src/mako/error/ErrorHandler.php
protected function shouldExceptionBeLogged(Throwable $exception): bool
	{
		if($this->logger === null)
		{
			return false;
		}

		foreach($this->disableLoggingFor as $exceptionType)
		{
			if($exception instanceof $exceptionType)
			{
				return false;
			}
		}

		return true;
	}
protected function shouldExceptionBeLogged(Throwable $exception): bool
	{
		if($this->logger === null)
		{
			return false;
		}

		foreach($this->disableLoggingFor as $exceptionType)
		{
			if($exception instanceof $exceptionType)
			{
				return false;
			}
		}

		return true;
	}
protected function shouldExceptionBeLogged ( Throwable $ exception ) : bool { if ( $ this -> logger === null ) { return false ; } foreach ( $ this -> disableLoggingFor as $ exceptionType ) { if ( $ exception instanceof $ exceptionType ) { return false ; } } return true ; }
Should the exception be logged?

@param  \Throwable $exception An exception object
@return bool
Should the exception be logged?