initialize
void public \Bitrix\Main\Diag\ExceptionHandler::initialize( callable $exceptionHandlerOutputCreator, callable|null $exceptionHandlerLogCreator = null );
Non-static method initializes error processing.
Must be called after creating an object.
Parameters
Parameter | Description | Version |
---|---|---|
$exceptionHandlerOutputCreator | Function for returning an object for error message formatting. | |
$exceptionHandlerLogCreator | Function for returning an object for writing into log. |
Example
© «Bitrix24», 2001-2024