• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/lib/hostrestriction.php
  • Класс: BitrixSecurityHostRestriction
  • Вызов: HostRestriction::setLogging
public function setLogging($isLogNeeded = true)
{
	if (!is_bool($isLogNeeded))
		throw new ArgumentTypeException('isLogNeeded', 'bool');

	$this->isLogNeeded = $isLogNeeded;

	return $this;
}