Bitrix API

LogFacade

FinalYes

Table of Contents

Methods

handle()  : void
log()  : void
logError()  : void
logErrors()  : void
logThrowable()  : void
logValidationErrors()  : void
logWarn()  : void

Methods

handle()

public static handle(string|Throwable|Error $error[, string $wrapperClass = \Bitrix\Main\SystemException::class ]) : void
Parameters
$error : string|Throwable|Error
$wrapperClass : string = \Bitrix\Main\SystemException::class

log()

public static log(mixed $data[, string $marker = \Bitrix\Tasks\Internals\Log\Log::DEFAULT_MARKER ]) : void
Parameters
$data : mixed
$marker : string = \Bitrix\Tasks\Internals\Log\Log::DEFAULT_MARKER

logThrowable()

public static logThrowable(Throwable $throwable[, string $marker = \Bitrix\Tasks\Internals\Log\Log::DEFAULT_MARKER ]) : void
Parameters
$throwable : Throwable
$marker : string = \Bitrix\Tasks\Internals\Log\Log::DEFAULT_MARKER

logWarn()

public static logWarn(string $message[, int $level = \Bitrix\Tasks\Internals\Log\E_USER_WARNING ]) : void
Parameters
$message : string
$level : int = \Bitrix\Tasks\Internals\Log\E_USER_WARNING

        
On this page

Search results