AppserverIo\Appserver\ServletEngine\AbstractServletEngine::logErrorException PHP Метод

logErrorException() публичный Метод

Helper method that writes system exceptions to the system logger if configured.
public logErrorException ( Exception $e ) : void
$e Exception The exception to be logged
Результат void
    public function logErrorException(\Exception $e)
    {
        if ($this->getServerContext()->hasLogger(LoggerUtils::SYSTEM)) {
            $this->getServerContext()->getLogger(LoggerUtils::SYSTEM)->error($e->__toString());
        }
    }