public logErrorException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
Résultat | void |
public function logErrorException(\Exception $e)
{
if ($this->getServerContext()->hasLogger(LoggerUtils::SYSTEM)) {
$this->getServerContext()->getLogger(LoggerUtils::SYSTEM)->error($e->__toString());
}
}