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

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

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