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());
}
}