class LogHandler

LogHandler는 XpressEngine에서 관리자의 요청을 로깅합니다.

Properties

protected LogRepository $repository
protected Container $register
protected AbstractLogger[] $loggers

Methods

__construct(Container $register, LogRepository $repository)

LogHandler constructor.

getRepository()

get Repository

string[]
getLoggerIds()

get list of registered logger's id

array
getLoggers()

get Loggers(id => class name)

getLogger(string $id)

get Logger instance

Log
log(array $data)

log

mixed
__call(string $name, array $arguments)

is triggered when invoking inaccessible methods in an object context.

Details

at line 54
__construct(Container $register, LogRepository $repository)

LogHandler constructor.

Parameters

Container $register xe register
LogRepository $repository log repository

at line 65
LogRepository getRepository()

get Repository

Return Value

LogRepository

at line 75
string[] getLoggerIds()

get list of registered logger's id

Return Value

string[] logger id list

at line 86
array getLoggers()

get Loggers(id => class name)

Return Value

array

at line 98
AbstractLogger getLogger(string $id)

get Logger instance

Parameters

string $id logger id

Return Value

AbstractLogger

at line 121
Log log(array $data)

log

Parameters

array $data log data

Return Value

Log

at line 134
mixed __call(string $name, array $arguments)

is triggered when invoking inaccessible methods in an object context.

Parameters

string $name method name
array $arguments arguments

Return Value

mixed