writeToLog
void public \Bitrix\Main\Diag\ExceptionHandler::writeToLog( \Exception $exception, integer|null $logType = null );
Non-static method writes exception data into log file.
Parameters
Parameter | Description | Version |
---|---|---|
$exception | Exception object. | |
$logType | View constants for class ExceptionHandlerLog. |
See Also
Example
© «Bitrix24», 2001-2025