Bitrix API

FileExceptionHandlerLog extends ExceptionHandlerLog

Table of Contents

Constants

ASSERTION  = 4
CAUGHT_EXCEPTION  = 1
DEFAULT_LOG_FILE  = "bitrix/modules/error.log"
FATAL  = 5
IGNORED_ERROR  = 2
LOW_PRIORITY_ERROR  = 3
MAX_LOG_SIZE  = 1000000
UNCAUGHT_EXCEPTION  = 0

Methods

initialize()  : mixed
logTypeToLevel()  : mixed
logTypeToString()  : mixed
write()  : mixed

Constants

Methods

initialize()

public initialize(array<string|int, mixed> $options) : mixed
Parameters
$options : array<string|int, mixed>

logTypeToLevel()

public static logTypeToLevel(mixed $logType) : mixed
Parameters
$logType : mixed

logTypeToString()

public static logTypeToString(mixed $logType) : mixed
Parameters
$logType : mixed

write()

public write(Throwable $exception, int $logType) : mixed
Parameters
$exception : Throwable
$logType : int

        
On this page

Search results