setLogging
\Bitrix\Security\HostRestriction public \Bitrix\Security\HostRestriction::setLogging( boolean $isLogNeeded = true );
Non-static method activates or deactivates loggin for denied host queries.
Parameters
Parameter | Description | Version |
---|---|---|
$isLogNeeded | Sets true , when logging is needed. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
)
Example
© «Bitrix24», 2001-2024