Documentation

writeToLog

void public
\Bitrix\Main\Diag\ExceptionHandler::writeToLog(
 \Exception $exception,
 integer|null $logType = null
);

Non-static method writes exception data into log file.

Parameters

ParameterDescriptionVersion
$exceptionException object.
$logTypeView constants for class ExceptionHandlerLog.

See Also

Example



© «Bitrix24», 2001-2022
Up