source/Core/Database/Adapter/Doctrine/Database.php
protected function logException(\Exception $exception)
    {
        /** The exception has to be converted into an instance of oxException in order to be logged like this */
        $exception = $this->convertException($exception);
        \OxidEsales\Eshop\Core\Registry::getLogger()->error($exception->getMessage(), [$exception]);
    }
protected function logException(\Exception $exception)
    {
        /** The exception has to be converted into an instance of oxException in order to be logged like this */
        $exception = $this->convertException($exception);
        \OxidEsales\Eshop\Core\Registry::getLogger()->error($exception->getMessage(), [$exception]);
    }
protected function logException ( \ Exception $ exception ) { /** The exception has to be converted into an instance of oxException in order to be logged like this */ $ exception = $ this -> convertException ( $ exception ) ; \ OxidEsales \ Eshop \ Core \ Registry :: getLogger ( ) -> error ( $ exception -> getMessage ( ) , [ $ exception ] ) ; }
Log a given Exception the log file using the standard eShop logging mechanism.
Use this function whenever a exception is caught and not re-thrown.

@param \Exception $exception
Log a given Exception the log file using the standard eShop logging mechanism . Use this function whenever a exception is caught and not re - thrown .