Documentation

setLogging

\Bitrix\Security\HostRestriction public
\Bitrix\Security\HostRestriction::setLogging(
 boolean $isLogNeeded = true
);

Non-static method activates or deactivates loggin for denied host queries.

Parameters

ParameterDescriptionVersion
$isLogNeededSets true, when logging is needed.

Exceptions

Example



© «Bitrix24», 2001-2024
Up