D7 API documentation
What's New
Modules
Main module in old core
ExceptionHandler constructor
handleAssertion
handleError
handleException
handleFatalError
initialize
setAssertionErrorType
setAssertionThrowsException
setDebugMode
setExceptionErrorsTypes
setHandledErrorsTypes
setHandlerLog
setHandlerOutput
setIgnoreSilence
setOverflowMemoryCatching
writeToLog
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-2024
Up