|
| static | enable (int $ttl=0) |
| static | isEnabled () |
| Открытые статические члены унаследованные от Logger |
| static | create (string $id, $params=[]) |
См. определение в файле requestlogger.php строка 10
◆ __construct()
| __construct |
( |
int | $userId, |
|
|
string | $serviceName ) |
◆ enable()
- Аргументы
-
- Возвращает
- void
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле requestlogger.php строка 34
◆ isEnabled()
◆ logMessage()
| logMessage |
( |
string | $level, |
|
|
string | $message ) |
|
protected |
◆ write()
this method for log data from sync request you should send params in context:
- requestParams
- url
- method
- statusCode
- response
- error
- Аргументы
-
| array | $context,{ | requestParams: array, url: string, method: string, statusCode: string, response: string, error: string, host: string, } |
- Возвращает
- void
- Исключения
-
LoaderException
См. определение в файле requestlogger.php строка 100
◆ $serviceName
◆ $userId
Объявления и описания членов класса находятся в файле: